Class JavaxNetSslTrustStoreProvider

java.lang.Object
io.quarkus.tls.runtime.JavaxNetSslTrustStoreProvider

public class JavaxNetSslTrustStoreProvider extends Object
Provides TrustStoreAndTrustOptions wrapping the default Java trust store specified as follows:
  1. If the javax.net.ssl.trustStore property is defined, then it is honored
  2. If the $JAVA_HOME/lib/security/jssecacerts is a regular file, then it is used
  3. If the $JAVA_HOME/lib/security/cacerts is a regular file, then it is used

For native image, be aware that the default trust material is stored inside the native image. Therefore it is not loaded anew at application start unless the application is started with -Djavax.net.ssl.trustStore=path/to/trust-store - see Certificate Management in GraalVM reference manual.

Since:
3.18.0
  • Constructor Details

    • JavaxNetSslTrustStoreProvider

      public JavaxNetSslTrustStoreProvider()
  • Method Details