Tomcat is lost after adding letsencrypt

Update, the following

<Connector
           protocol="org.apache.coyote.http11.Http11NioProtocol"
           port="8443" maxThreads="200" connectionTimeout="1000000"
           scheme="https" secure="true" SSLEnabled="true"
           keystoreFile="/etc/letsencrypt/live/stockdiv.com/bundle.pfx" keystorePass="apassword"
           clientAuth="false" sslProtocol="TLS" keystoreType="PKCS12"/>

brings me to manager and the war using :8443 , how is it possible to ommit the port when accessing the war? As in https://domain:8443 for the manager and https://domain/mywar for the war?

One more related thing: I've used this solution (that works): Using let's encrypt with tomcat I understand that I need to renew it every 3 months, is there a way to automate this?

Thanks

2 Likes