| Modifier and Type | Field and Description | 
|---|---|
boolean | 
enabled
Enables SSL. 
 | 
String | 
keyCertChainFile
Deprecated. 
 
As of release 3.2.10, replaced by  
keyStore | 
String | 
keyFile
Deprecated. 
 
As of release 3.2.10, replaced by  
keyStore | 
String | 
keyPassword
Deprecated. 
 
As of release 3.2.10, replaced by  
keyStorePassword | 
String | 
keyStore
The file location of the private key in JKS or PKCS#12 format. 
 | 
String | 
keyStorePassword
The password of the  
keyStore, or null if it's not password-protected. | 
String | 
keyStoreType
 | 
ClientAuth | 
needClientAuth
Require client certificate authentication 
 | 
List<String> | 
sslCipherSuites
A list of cipher suites to enable. 
 | 
List<String> | 
sslEnabledProtocols
A list of SSL protocols to enable. 
 | 
String | 
trustCertChainFile
Deprecated. 
 
As of release 3.2.10, replaced by  
trustStore | 
String | 
trustStore
Trusted certificates for verifying the remote client's certificate. 
 | 
String | 
trustStorePassword
The password of the  
trustStore, or null if 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–2020 Apache Software Foundation. All rights reserved.