Search code examples
sslspring-bootspring-securityhttpsconsul

Consul https support for spring boot application


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


Solution

  • Check out below Spring boot configuration. Notice the scheme property

    Spring boot configuration

    Secondly add your SSL certificate under trusted root certificates

    enter image description here