code: public static void enableSSLValidation() {
      try {
        SSLContext.getInstance("SSL").init(null, null, null);
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
    }
docs: Enable SSL Validation.