Setup HTTPS port to 443 for Apache Tomcat 8 on Ubuntu

From Onepoint Systems Integration
Jump to: navigation, search

Step 1: setup server.xml

Setup https connection in port 443 with your certificate in server.xml

Step 2: Install authbind

apt install authbind

Step 3: Setup authbind port 443 for tomcat8 user

 ]# touch /etc/authbind/byport/443
 ]# chown tomcat8:tomcat8 /etc/authbind/byport/443
 ]# chmod 500 /etc/authbind/byport/443

Step 4: Setup tomcat AUTHBIND configuration

  1. Edit /etc/default/tomcat8
  2. Set up AUTHBIND=yes (it already exists and is comented with no value probably)

Step 5: Restart tomcat

 ]# systemctl restart tomcat8