You would do the following:
- Generate a self-signed SSL certificate or obtain one from a know Certificate Authority (e.g. DigiCert)
- Depending upon how you wish to run the HTTPS connector, you would either create a separate server certificate and key file, or (as I did) put the server certificate and key into a Java keystore.
- Put an entry into the server.xml file similar to the following:
<Connector port="8443"
protocol="HTTP/1.1"
SSLEnabled="true"
maxThreads="150"
scheme="https"
secure="true"
clientAuth="false"
sslProtocol="TLS"
keyAlias="default"
keystoreFile="/etc/ssl/keystore.jks"
keystorePass="camunda1!"
truststoreFile="/etc/ssl/keystore.jks"
truststorePass="kspass1"/>
The "keyAlias" must match the value you used when you imported the server certificate/key into the Java keystore.
Configuration of the SSL certs, keys, and keystore is not easy.