Class HttpHelper

java.lang.Object
org.odpi.openmetadata.http.HttpHelper

public class HttpHelper extends Object
Turn off client-side checking of certificates. There are two options, one to turn it off all the time and the other is controlled through the -Dstrict.ssl=false property.
  • Constructor Details

    • HttpHelper

      public HttpHelper()
  • Method Details

    • noStrictSSL

      public static void noStrictSSL()
      Allows the use of self-signed certificates on https connections. The client will trust the server no matter which certificate is sent.
    • noStrictSSLIfConfigured

      public static void noStrictSSLIfConfigured()
      Allows using self-signed certificates https connections. If -Dstrict.ssl=false is set, the client will trust the server no matter the certificate passed.