public interface SslConfiguration
Microsoft SQL server supports various SSL setups:
Supported mode uses SSL during login to encrypt login credentials. SSL is disabled after login.
The client supports login-time SSL even when isSslEnabled() is false. This mode does not validate certificates.
Enabling SSL enables also SSL certificate validation.
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.ssl.SslContext |
getSslContext()
Return the
SslContext if SSL is enabled. |
boolean |
isSslEnabled() |
boolean isSslEnabled()
true if SSL is enabled. Enabling SSL enables certificate validation. false to disable SSL.io.netty.handler.ssl.SslContext getSslContext()
throws GeneralSecurityException
SslContext if SSL is enabled.SslContext.GeneralSecurityException - if setting up the SSL provider fails.IllegalStateException - if the SSL configuration is not enabledCopyright © 2023. All rights reserved.