code: @Nonnull
    public final WSClientConfig setSSLSocketFactoryTrustAll (final boolean bDebugMode) throws KeyManagementException
    {
      try
      {
        final SSLContext aSSLContext = SSLContext.getInstance ("TLSv1.2");
        aSSLContext.init (null,
                          new TrustManager [] { new TrustManagerTrustAll (bDebugMode) },
                          RandomHelper.getSecureRandom ());
        final SSLSocketFactory aSF = aSSLContext.getSocketFactory ();
        return setSSLSocketFactory (aSF);
      }
      catch (final NoSuchAlgorithmException ex)
      {
        throw new IllegalStateException ("TLS 1.2 is not supported", ex);
      }
    }
docs: Set the {@link SSLSocketFactory} to be used by this client to one that
  trusts all servers.
  
  @param bDebugMode
  <code>true</code> for extended debug logging, <code>false</code> for
  production.
  @throws KeyManagementException
  if initializing the SSL context failed
  @return this for chaining
  @since 9.1.5