Let's Encrypt SSL with Apache (Reverse Proxy) + Tomcat using win-acme
Objective
Prerequisites
Apache Virtual Host Configuration (Port 80)
<VirtualHost *:80>
ServerName example.com
# Serve ACME challenge
Alias /.well-known/acme-challenge/ "C:/xampp/.well-known/acme-challenge/"
<Directory "C:/xampp/.well-known/acme-challenge/">
Options None
AllowOverride None
Require all granted
</Directory>
# Prevent proxying of ACME challenge
ProxyPassMatch ^/.well-known !
# Reverse proxy to Tomcat
ProxyPreserveHost On
ProxyPass /exampledept/ http://localhost:8080/exampledept/
ProxyPassReverse /exampledept/ http://localhost:8080/exampledept/
ProxyPass / http://localhost:8080/exampledept/
ProxyPassReverse / http://localhost:8080/exampledept/
ErrorLog "logs/example.com-error.log"
CustomLog "logs/example.com-access.log" common
</VirtualHost>win-acme Manual Validation Setup
Validation Troubleshooting (Optional)
Installing SSL
Apache Virtual Host Configuration (Port 443)
Final Steps
(Optional but Recommended) Force HTTPS Redirect
PreviousTomcat: Install Let's Encrypt SSL-WindowsNextHOW TO CREATE A FULL-CHAIN PFX FROM YOUR SSL FILES
Last updated