In case you try to enable SSL at your confluence environment:
First create your PKCS12 Certificate
openssl pkcs12 -export -in <your .cer certificate> -inkey <your private keyfile> -out tomcat.p12 -name tomcat -CAfile <cacertfile> -caname root
-> give a export passwort i.e.'tomcat-password'
keytool -importkeystore -deststorepass 'keystorepassword' -destkeypass 'password-of-certificate' -destkeystore <tomcatkeystorefile> -srckeystore tomcat.p12 -srcstoretype PKCS12 -srcstorepass 'tomcat-password' -alias tomcat
You need to change 8443 to 443:
Don't forget to install:
First create your PKCS12 Certificate
openssl pkcs12 -export -in <your .cer certificate> -inkey <your private keyfile> -out tomcat.p12 -name tomcat -CAfile <cacertfile> -caname root
-> give a export passwort i.e.'tomcat-password'
then
keytool -importkeystore -deststorepass 'keystorepassword' -destkeypass 'password-of-certificate' -destkeystore <tomcatkeystorefile> -srckeystore tomcat.p12 -srcstoretype PKCS12 -srcstorepass 'tomcat-password' -alias tomcat
You need to change 8443 to 443:
sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to-port 8443
sudo /sbin/iptables-save > /etc/iptables/rules.v4
Don't forget to install:
apt install iptables-persistent