Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1582

Enable HTTPS in Spring Boot and make use of the WINDOWS-ROOT trust store type

$
0
0

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?


Viewing all articles
Browse latest Browse all 1582

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>