Replace the Certificate with Your Non-default Keystore
You can use a keystore other than the default (sessionserver/etc/keystore.bcfks
) to store your CA-signed certificates.
Specify the following properties in sessionserver/conf/container.properties
:
server.ssl.key-store
server.ssl.key-store-password
sessionserver
directory:
../java/jre/bin/java -cp ./lib/jetty-util-<version>.jar org.eclipse.jetty.util.security.Password passwordToObfuscate
server.ssl.key-store=${server.home}/etc/custom.bcfks
server.ssl.key-store-password=OBF:1vn21ugu1saj1v9i1v941sar1ugw1vo0
Tip
To avoid confusion, delete the default keystore.
To prevent the default keystore from being generated when the server starts up, open /conf/product-core-ctx.xml
in a text editor and either remove or comment out the servletEngineKeystoreGenerator section. Restart the session server.