SslConfiguration
The TLS settings a connection is established under, gathered from the SSL-related connection properties.
Every path here is optional and overrides a default rather than supplying something the JVM lacks: left unset, the platform's own trust and key material is used, exactly as any other Java TLS client would get it. Only mode has to be decided.
Constructors
Properties
Decrypts keyPath where that key is encrypted - a file opening on BEGIN ENCRYPTED PRIVATE KEY. An encrypted key without it raises InitializationException(SSL_ERROR) naming the property; an unencrypted key ignores it.
Path to the CA certificate the server's chain is verified against, consulted only under SslMode.VERIFY_CA and SslMode.VERIFY_FULL. Left unset, verification falls back to the JVM's default trust store, so a server whose certificate already chains to a public CA - or to one installed in the platform truststore - needs nothing here.