addons/httprox/common/src/main/java/org/commonjava/indy/httprox/handler/ProxyMITMSSLServer.java
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.