Package org.odpi.openmetadata.http
Class HttpHelper
java.lang.Object
org.odpi.openmetadata.http.HttpHelper
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Allows the use of self-signed certificates on https connections.static void
Allows using self-signed certificates https connections.
-
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.
-