Consul https support for spring boot application

狂风中的少年 提交于 2019-12-13 08:07:52

问题


I have a spring boot application that runs on https. Consul is unable to do the health check due to the application is https. When i change it to http, it works.

Any solution for this?

thanks


回答1:


Check out below Spring boot configuration. Notice the scheme property

Secondly add your SSL certificate under trusted root certificates



来源:https://stackoverflow.com/questions/42335690/consul-https-support-for-spring-boot-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!