docs: public static SSLContext getTlsSslContext() throws Exception {
          // Create a trust manager that does not validate certificate chains
          TrustManager[] trustAllCerts = new TrustManager[]{new X509TrustManager() {
              public X509Certificate[] getAcceptedIssuers() {
                  return new X509Certificate[]{};
              }
  
              public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException {
              }
  
              public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException {
              }
          }};
          SSLContext sslContext = SSLContext.getInstance("TLS");
          sslContext.init( null, trustAllCerts, new java.security.SecureRandom());
          return sslContext;
      }