I have been tasked with installing an SSL certificate on an Apache Tomcat server (version 7.0.35). This is not something I have had any experience with before so hoping for a little guidance! The notes I have found online seem only to cover new installations.
Looking at the
Go to bin folder in server Run the command keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass password -validity 360 -keysize 2048 then keytool -list -keystore keystore.jks In conf\server.xml edit it as //... <!-- Define a SSL HTTP/1.1 Connector on port 8443 This connector uses the JSSE configuration, when using APR, the connector should be using the OpenSSL style configuration described in the APR documentation --> <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="my key store file path" keystorePass="password" /> //...
keystorePass="password" is the password you assigned to your keystore via “keytool” command.
Then hit URL https://localhost:8443/