Description
I would like to be able to run a spring boot webserver that connects to other servers using the SSL protocol that uses self-signed certificates.
To do this I now have to specify the javax.net.ssl.trustStore
and javax.net.ssl.trustStorePassword
system properties when starting the application.
I would like to be able to set this up using my application.properties
, so that all configuration is in one place, and I can use classpath to locate the trust store.
I can specify the server.ssl.trust-store
and server.ssl.trust-store-password
but this is not picked up without also specifying server.ssl.key-store
and related properties.
The main problem then becomes that the spring boot application will start with a https connector (and no http connector), while actually I have no interest to run in https mode.
The spring boot server just needs to connect to other servers with https.
My feature request is that you are able to set up a trust store without having to specify properties related to running the server in https mode.