Package io.quarkus.tls.runtime
Class JavaxNetSslTrustStoreProvider
java.lang.Object
io.quarkus.tls.runtime.JavaxNetSslTrustStoreProvider
Provides
TrustStoreAndTrustOptions wrapping the default Java trust store specified as follows:
- If the
javax.net.ssl.trustStoreproperty is defined, then it is honored - If the
$JAVA_HOME/lib/security/jssecacertsis a regular file, then it is used - If the
$JAVA_HOME/lib/security/cacertsis 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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TrustStoreAndTrustOptionsgetTrustStore(io.vertx.core.Vertx vertx)
-
Constructor Details
-
JavaxNetSslTrustStoreProvider
public JavaxNetSslTrustStoreProvider()
-
-
Method Details
-
getTrustStore
-