I am trying to enable HTTPS in my Spring Boot application and make use of the WINDOWS-ROOT trust store type.I need this so that my Spring Boot application will act as a client and call another application.
When my Spring Boot application acts as server, HTTPS works as expected with the below configuration in the application.properties file:
server.ssl.enabled=trueserver.ssl.key-store=.server.ssl.key-store-type=WINDOWS-MYserver.ssl.client-auth=need
When I add configuration for the trust store type, it doesn't work:
server.port=11443server.ssl.enabled=trueserver.ssl.key-store=.server.ssl.key-store-type=WINDOWS-MYserver.ssl.trust-store=.server.ssl.trust-store-type=WINDOWS-ROOTserver.ssl.client-auth=need
Any idea how it can work for WINDOWS-ROOT trust store type, when my Spring Boot application acts as client?