Consul https support for spring boot application

2019-09-20 18:48发布

问题:

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