Package org.apache.camel.quarkus.test
Class ExtendDefaultTrustStore
java.lang.Object
org.apache.camel.quarkus.test.ExtendDefaultTrustStore
A utility to take the default JVM's trust store, add some custom certificates to it, store it to a
temporary location and set
javax.net.ssl.trustStore to the temporary path.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExtendDefaultTrustStore
public ExtendDefaultTrustStore()
-
-
Method Details
-
extendTrustStoreIfNeeded
public static Path extendTrustStoreIfNeeded(Path extendedTrustStorePath, String[] certs) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException -
main
-