Bit of a cert noob and I'm having trouble finding details on whether setting javax.net.ssl.trustStore
adds to or overrides the default JDK cacerts?
My app is using:
-Djavax.net.ssl.trustStore=my-truststore.jks
And setting up a client for AWS S3 (default, without explicitly telling it to use any specific certs):
<bean name="s3Client" class="com.amazonaws.services.s3.AmazonS3ClientBuilder"
factory-method="defaultClient">
</bean>
If javax.net.ssl.trustStore
adds to the default JDK cacerts, then I should be ok because I believe that already contains the certs I need, but my-truststore does not.
(AWS CAs were added to jdk: https://bugs.openjdk.java.net/browse/JDK-8233223)