Modifier and Type | Field and Description |
---|---|
boolean |
enabled
Enables SSL.
|
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
|
io.netty.handler.ssl.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 |
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. |
String |
trustStoreType
|
Constructor and Description |
---|
SslSettings() |
Modifier and Type | Method and Description |
---|---|
Optional<io.netty.handler.ssl.SslContext> |
getSslContext() |
void |
overrideSslContext(io.netty.handler.ssl.SslContext sslContext)
When this value is set, the other settings for SSL are ignored.
|
public boolean enabled
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 String trustStoreType
public List<String> sslEnabledProtocols
public List<String> sslCipherSuites
public io.netty.handler.ssl.ClientAuth needClientAuth
public void overrideSslContext(io.netty.handler.ssl.SslContext sslContext)
enabled
setting should still be set to
true
for this setting to take effect.public Optional<io.netty.handler.ssl.SslContext> getSslContext()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.