public static synchronized SSLSocketFactory get(String serverAlias) {
    if (!sslSocketFactories.containsKey(serverAlias)) {
      sslSocketFactories.put(serverAlias, new TrustingSSLSocketFactory(serverAlias));
    }
    return sslSocketFactories.get(serverAlias);
  }
Used for ssl tests to simplify setup.
core/src/test/java/feign/client/TrustingSSLSocketFactory.java