private SSLServerSocketFactory getSSLServerSocketFactory( String host ) throws Exception
    {
        AtomicReference<Exception> err = new AtomicReference<>();
        KeyStore ks = keystoreMap.computeIfAbsent( host, (k) -> {
            try
            {
                return getKeyStore(k);
            }
private SSLServerSocketFactory getSSLServerSocketFactory( String host ) throws Exception
    {
        AtomicReference<Exception> err = new AtomicReference<>();
        KeyStore ks = keystoreMap.computeIfAbsent( host, (k) -> {
            try
            {
                return getKeyStore(k);
            }
private SSLServerSocketFactory getSSLServerSocketFactory ( String host ) throws Exception { AtomicReference < Exception > err = new AtomicReference <> ( ) ; KeyStore ks = keystoreMap . computeIfAbsent ( host , ( k ) - > { try { return getKeyStore ( k ) ; }
Generate the keystore on-the-fly and initiate SSL socket factory.
Generate the keystore on - the - fly and initiate SSL socket factory .