Class JvmDefaultSslContext


  • public class JvmDefaultSslContext
    extends Object
    • Method Detail

      • initDefaultSslContext

        public static void initDefaultSslContext()
        Initialize the default SSL context based on the system properties. When either key store "javax.net.ssl.keyStore" or trust store "javax.net.ssl.trustStore" is specified in system property and they are files: set the default SSL context to the default SSL context created by SSLFactory, and enable auto renewal of SSLFactory when either key store or trust store file changes. TODO: need to support "javax.net.ssl.keyStoreProvider", "javax.net.ssl.trustStoreProvider", "https.protocols" and "https.cipherSuites" system properties.