| Modifier and Type | Field and Description |
|---|---|
boolean |
enabled
Enables SSL.
|
String |
keyCertChainFile
The X.509 certificate chain file in PEM format.
|
String |
keyFile
The PKCS#8 private key file in PEM format.
|
String |
keyPassword
The password of the
keyFile, or null if it's not password-protected. |
String |
trustCertChainFile
Trusted certificates for verifying the remote endpoint's certificate.
|
| 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
keyCertChainFile and the keyFile.public String keyCertChainFile
public String keyFile
public String keyPassword
keyFile, or null if it's not password-protected.public String trustCertChainFile
null uses the system default.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–2016 Apache Software Foundation. All rights reserved.