Report this

What is the reason for this report?

Is there anyway to config SSL to different port like 442

Posted on December 22, 2020

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.



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!

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.

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:

https://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html

Regards, Bobby

It’s work thank you

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.