public abstract class AbstractClientSslConfiguration extends SslConfiguration
SslConfiguration
extensions for SSL clients.SslConfiguration.KeyConfiguration, SslConfiguration.KeyStoreConfiguration, SslConfiguration.TrustStoreConfiguration
buildSelfSigned, DEFAULT_BUILDSELFSIGNED, DEFAULT_ENABLED, DEFAULT_PORT, DEFAULT_PROTOCOL, port, PREFIX
Constructor and Description |
---|
AbstractClientSslConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
isInsecureTrustAllCertificates() |
void |
setInsecureTrustAllCertificates(boolean insecureTrustAllCertificates) |
buildSelfSigned, getCiphers, getClientAuthentication, getHandshakeTimeout, getKey, getKeyStore, getPort, getProtocol, getProtocols, getTrustStore, isEnabled, readExisting, setBuildSelfSigned, setCiphers, setClientAuthentication, setEnabled, setHandshakeTimeout, setKey, setKeyStore, setPort, setProtocol, setProtocols, setTrustStore
public boolean isInsecureTrustAllCertificates()
public void setInsecureTrustAllCertificates(boolean insecureTrustAllCertificates)
insecureTrustAllCertificates
- Whether the client should disable checking of the remote SSL certificate.
Only applies if no trust store is configured.
Note: This makes the SSL connection insecure, and should only be used for
testing. If you are using a self-signed certificate, set up a trust store
instead.