code: public SSLFactory sslFactory()
    {
      String opensslKey = _env.get(portName() + ".openssl.key");
      
      if (opensslKey != null) {
        return opensslFactory();
      }
      
      String keyStore = _env.get(portName() + ".ssl.key-store");
      
      boolean isSsl = _env.get(portName() + ".ssl.enabled", boolean.class, false);
      
      if (! isSsl) {
        return null;
      }
      
      
      if (keyStore != null) {
        isSsl = true;
      }
      
      SSLFactoryJsse sslFactory = new SSLFactoryJsse(_env, portName());
      
      /*
      if (keyStore != null) {
        Path path = Vfs.path(keyStore);
        
        sslFactory.setKeyStoreFile(path);
        
        String password = _env.get(portName() + ".ssl.password");
        
        if (password != null) {
          sslFactory.setPassword(password);
        }
      }
      else {
        sslFactory.setSelfSignedCertificateName("baratine");
      }
      */
      
      sslFactory.init();
  
      return sslFactory;
    }
docs: /*
  public void serverSocket(ServerSocketBar serverSocket)
  {
  _serverSocket = serverSocket;
  }