Can't Install SSL with Apache Tomcat Server

Hello, We are trying to install SSL on our domain ( which is pointed in Digital Ocean already) through Let’s Encrypt but failing. We have a Java Application installed on our system and we have tried many ways with Let’s Encrypt and Certbot but failing every time. We reached out to the support and they forwarded us the following two options:



We have Ubuntu 20.04 installed on our system with Tomcat. We also don’t know if any commercial certificate can be installed with this. If Yes, which one will be better. Regards

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @rajdeeproy,

from the screenshot you provided me with, I can see a couple of things. First, I don’t see any service listening on port 80 and 443 on IPv4 protocols. Additionally, when using Tomcat you also have Apache enabled and started and I don’t see it running at the moment.

In that regard, when you configured Tomcat did you follow this tutorial to do so :

If so can you please follow the tutorial and see if you have missed something when you were first configuring tomcat.

Regards, KFSys

Hi @rajdeeproy,

First, I don’t believe you need go for a commercial/paid certificate if you have a small startup application/website. In that sense, Let’s Encrypt should be fine to use.

Regarding the trouble installing it, you mentioned you’ve used Certbot. I take it since it’s failing it is showing some errors, can you please share them with us? From the errors, I might be able to give some pointers on how to proceed.

Additionally, if you can, it would be best to explain the whole process prior to the experienced error.

Regards, KFSys