| Modifier and Type | Field and Description | 
|---|---|
| boolean | enabledEnables SSL. | 
| String | keyCertChainFileDeprecated. 
 As of release 3.2.10, replaced by  keyStore | 
| String | keyFileDeprecated. 
 As of release 3.2.10, replaced by  keyStore | 
| String | keyPasswordDeprecated. 
 As of release 3.2.10, replaced by  keyStorePassword | 
| String | keyStoreThe file location of the private key in JKS or PKCS#12 format. | 
| String | keyStorePasswordThe password of the  keyStore, ornullif it's not password-protected. | 
| String | keyStoreType | 
| ClientAuth | needClientAuthRequire client certificate authentication | 
| List<String> | sslCipherSuitesA list of cipher suites to enable. | 
| List<String> | sslEnabledProtocolsA list of SSL protocols to enable. | 
| String | trustCertChainFileDeprecated. 
 As of release 3.2.10, replaced by  trustStore | 
| String | trustStoreTrusted certificates for verifying the remote client's certificate. | 
| String | trustStorePasswordThe password of the  trustStore, ornullif it's not password-protected. | 
| Constructor and Description | 
|---|
| SslSettings() | 
| Modifier and Type | Method and Description | 
|---|---|
| Optional<SslContext> | getSslContext() | 
| void | overrideSslContext(SslContext sslContext)When this value is set, the other settings for SSL are ignored. | 
public boolean enabled
@Deprecated public String keyCertChainFile
keyStore@Deprecated public String keyFile
keyStore@Deprecated public String keyPassword
keyStorePasswordkeyFile, or null if it's not
 password-protected.@Deprecated public String trustCertChainFile
trustStorenull
 uses the system default.public String keyStore
public String keyStorePassword
keyStore, or null if it's not password-protected.public String trustStore
TrustManager will be used.public String trustStorePassword
trustStore, or null if it's not password-protected.public String keyStoreType
public List<String> sslEnabledProtocols
public List<String> sslCipherSuites
public ClientAuth needClientAuth
public void overrideSslContext(SslContext sslContext)
enabled setting should still be set to
 true for this setting to take effect.public Optional<SslContext> getSslContext()
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.