Using LetsEncrypt Certificates on Tomcat 8.x on Windows

Hi Antonio

Below is how I configured this with windows on Tomcat 8.5

A) My certs are in the format below (I use certrbot on windows so this is what creates)

B) Config for server.xml

Note: I had to use the protocol=“org.apache.coyote.http11.Http11NioProtocol” instead of the default config as I was getting ssl_error_rx_record_too_long errors

Alos Note: i use the chain.pem not fullchain.pem for the intermediates (fullchain.pem contains the cert + intermediates)

C) Restart the server

D) Browse to HTTPS enabled site

Note the right certificate is being served up my errors are to do with hostnames.