Socket factory for SSL sockets, using the Java Server Sockets Extension (JSSE) reference implementation support classes. Besides the usual configuration mechanism based on setting JavaBeans properties, this component may also be configured by passing a series of attributes set with calls to
setAttribute()
. The following attribute names are recognized, with default values in square brackets:
- algorithm - Certificate encoding algorithm to use. [SunX509]
- clientAuth - Require client authentication if set to
true
. [false] - keystoreFile - Pathname to the Key Store file to be loaded. This must be an absolute path, or a relative path that is resolved against the "catalina.base" system property. ["./keystore" in the user home directory]
- keystorePass - Password for the Key Store file to be loaded. ["changeit"]
- keystoreType - Type of the Key Store file to be loaded. ["JKS"]
- protocol - SSL protocol to use. [TLS]
@author Harish Prabandham
@author Costin Manolache
@author Craig McClanahan