public static SocketFactory getDefault() {
    return new InternalSSLSocketFactoryNonTrusting();
  }
InternalSSLSocketFactoryNonTrusting is a non-trusting {@link SSLSocketFactory} implementation
using the TLSv1.2 protocol.
<p>
This SSL socket factory should allow for at least the following SSL protocols:
<ul>
<li>TLSv1.2</li>
<li>TLSv1.1</li>
<li>TLSv1</li>
</ul>
<p>
However, the actual set of enabled SSL protocols is dependent on the underlying JVM.
<p>
This SSL socket factory creates non-trusting connections, meaning that the server's SSL certificate
will be validated using the JVM-specific internal {@link javax.net.ssl.TrustManager}
ambari-server/src/main/java/org/apache/ambari/server/security/InternalSSLSocketFactoryNonTrusting.java