code: public static SSLContext createDefaultSSlContext() throws SSLInitializationException {
      try {
        final SSLContext sslcontext = SSLContext.getInstance(SSL_CONTEXT_TYPE_DEFAULT);
        sslcontext.init(null, null, null);
        return sslcontext;
      }
      catch (NoSuchAlgorithmException ex) {
        throw new SSLInitializationException(ex.getMessage(), ex);
      }
      catch (KeyManagementException ex) {
        throw new SSLInitializationException(ex.getMessage(), ex);
      }
    }
docs: Creates default SSL context.
  @return SSL context