Class JVMDefaultTrustManager

java.lang.Object
com.unboundid.util.ssl.JVMDefaultTrustManager
All Implemented Interfaces:
Serializable, TrustManager, X509TrustManager

This class provides an implementation of a trust manager that relies on the JVM's default set of trusted issuers.

This implementation will first look for the trust store in the following locations within the Java installation, in the following order:
  1. lib/security/jssecacerts
  2. jre/lib/security/jssecacerts
  3. lib/security/cacerts
  4. jre/lib/security/cacerts
If none of those files exist (or if they cannot be parsed as a JKS or PKCS #12 key store), then we will search for a jssecacerts or cacerts file below the Java home directory.
See Also: