The out of the box configuration file contains a template for the SSL configuration in place. Specifically,
in the sockets block, under the server-sockets element, there is a commented out factory with the
name "ssl". The first step to configuring the server socket factory is uncommenting out this element.
The factory element contains several children. Of these, it should only be necessary to adjust two or three children.
The required file element specifies the location of the keystore to be used by the factory. This is specified
as a file path using Unix-style formatting. The path is taken to be relative to the apps/james/ subdirectory of
the application installation directory unless an absolute path is specified.
The password element should be set to the keystore password. This password should have been specified
when the keystore was created, and it is required to open the keystore. This value is required.
Finally, it may be necessary to adjust the type element. This element can take on any keystore type
supported by the JSSE provider being used (see the JSSE documentation for details). The out of the box
configuration specifies JKS (Java Keystore).
The remaining children should not need to be deleted or adjusted.