def http = JavaHttpBuilder.configure {
    ignoreSslIssues(execution)
}
public class SslUtils
extends java.lang.Object
SSL helper utilities.
| Modifier and Type | Field and Description | 
|---|---|
static javax.net.ssl.HostnameVerifier | 
ANY_HOSTNAME
A  
HostnameVerifier that accepts any host name. | 
| Constructor and Description | 
|---|
SslUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static javax.net.ssl.SSLContext | 
acceptingSslContext()
Creates an  
SSLContext that allows all requests, regardless of certificate issues. | 
static void | 
ignoreSslIssues(HttpObjectConfig.Execution execution)
Configuration helper used to ignore any SSL certificate-related issues by configuring an  
SSLContext that allows everything. | 
public static final javax.net.ssl.HostnameVerifier ANY_HOSTNAME
A HostnameVerifier that accepts any host name.
public static void ignoreSslIssues(HttpObjectConfig.Execution execution)
Configuration helper used to ignore any SSL certificate-related issues by configuring an SSLContext that allows everything.
def http = JavaHttpBuilder.configure {
    ignoreSslIssues(execution)
}
This will inject the correct configuration to set the sslContext and hostnameVerifier - these configuration properties should not
be directly specified when this method is applied.
execution - the HttpObjectConfig.Execution instancepublic static javax.net.ssl.SSLContext acceptingSslContext()
Creates an SSLContext that allows all requests, regardless of certificate issues.
SSLContext