Tomcat: Install Let's Encrypt SSL-Windows
Note: Be Sure that you Internal port is map with external port are same like 80:80 & 443:443
Step 1: Install CertBot Latest Version from
https://dl.eff.org/certbot-beta-installer-win32.exe
Step 2: Install OpenSSL From
https://slproweb.com/products/Win32OpenSSL.html
Step 3: Step Add Enviroment variable of openssl

Step4: Stop Tomcat
Step5: Run Command
Step6:
Create Folder and copy all certificat from C:\Certbot\live\your.domain.com to C:\Lets
Step7: Now Copy cert.pem chain.pem fullchain.pem in all.pem like this

Step8: Run Command for pem to p12 file
Give Password : — password
Step8:- Run Command p12 To JDK
Give Password : — password
Step9:- Apply JKS and SSL connector Setting in Tomcat server.xml File
Open File of server.xml
Update below details
Save & Exit
[Note — certificateKeystorePassword=”password” (This password is same as When run Openssl or Keytool Command)]
Step 10: Start Tomcat Service for Effect of SSL Renew
REFERENCES
PreviousOpenSSL: Extract Private KeyNextLet's Encrypt SSL with Apache (Reverse Proxy) + Tomcat using win-acme
Last updated
Was this helpful?