Is there anyway to config SSL to different port like 442

Posted December 22, 2020 364 views
Getting StartedLet's EncryptDevelopment

I deloy a java web to port 8080 but i don’t know how to config ssl to that port. Can you help me please.

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.

Submit an Answer
2 answers

Hi there @dovanliem09102014,

The approach that I could suggest is to use Nginx as a reverse proxy. That way you will be able to use certbot which will configure the SSL for you automatically.

If you don’t want to use Nginx and if you want to secure your Tomcat installation itself, I could suggest following the steps from their official documentation here on how to do that: