Installing an SSL on Tomcat

With Tomcat there are a number of different ways to install and use a SSL but I will show you how to do this the easy way.

1) Login to your IONOS Control Panel and go to Domains & SSL > Select your Domain > Create and Download .PFX File > Download

2) Save the file and make a note of the password you used when saving.

3) Transfer the file to your server. In this example the file is being saved to /opt/tomcat/myssl/ssl.pfx

4) SSH into your server

5) vi /opt/tomcat/conf/server.xml

<Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol"

Make a note of the Connector port, keystoreFile, and keystorePass as your entries may be different. Its possible your Tomcat may also be run as a proxy on a port other than 443 such as 8443.

Next you will need to restart Tomcat

6) cd /opt/tomcat/bin

7) ./

8) ./

Marv has written 28 articles

3 thoughts on “Installing an SSL on Tomcat

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>