Hi,
I have Plone 4.3.1 x64 installed on a Windows 10 Pro PC on port 8080, it is accessed from a internet domain via port forward and works fine. I would like to install a SSL cert /connection.
Can someone please tell me how to get this working if it is possible.
Many Thanks
Ivor....
zopyx
(Andreas Jung)
February 3, 2022, 11:59am
2
Use a reverse proxy (Apache, Nginx, Caddy etc.) doing the SSL part in front of Plone.
Thanks I'll have to google that as not sure how LOL
espenmn
(Espen)
February 3, 2022, 2:58pm
5
Something like this (I dont use Windows, but it should be similar to Linux)
Install apache in front (on the PC or another).
get/install the certificate. I recommend certbot
in Apache, add a rewrite rule from port 443 to 'your site' (or 81?).
Maybe similar to this (google 'the same for Windows'):
The apache rewrite rules would be something similar to this:
ServerName mysite.com
ServerAlias www.mysite.com
RewriteEngine On
RewriteRule ^/(.*)$
http://127.0.0.1:8080/VirtualHostBase/https/mysite.com:443/Plone/VirtualHostRoot/$1 [L,P]
SSLCertificateFile /etc/letsencrypt/live/mysite.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/mysite.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf