Is there anyway to config SSL to different port like 442

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.

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 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:

Regards, Bobby

It’s work thank you