en:user_advanced:gs3_https
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:user_advanced:gs3_https [2025/02/13 00:46] – [Getting things to run as sudo with no password] kjdon | en:user_advanced:gs3_https [2025/02/13 01:02] (current) – [Using Apache to reverse proxy Tomcat] kjdon | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Using Apache to reverse proxy Tomcat ===== | ===== Using Apache to reverse proxy Tomcat ===== | ||
+ | |||
+ | Install and setup Apache with certbot SSL certificates. Then in the le-ssl.conf file (eg / | ||
+ | |||
+ | |||
+ | | ||
+ | | ||
+ | < | ||
+ | ProxyPassReverseCookiePath / | ||
+ | </ | ||
+ | |||
+ | | ||
+ | |||
+ | |||
+ | In build.properties, | ||
+ | | ||
+ | revproxy.protocol=https | ||
+ | revproxy.domain=< | ||
+ | ## | ||
+ | ## | ||
+ | |||
===== Linux: Getting SSL certificates using certbot ===== | ===== Linux: Getting SSL certificates using certbot ===== | ||
- | A | ||
To have your webserver running under https, you need an SSL certificate. Many hosting platforms have tools to let you use HTTPS. See [[https:// | To have your webserver running under https, you need an SSL certificate. Many hosting platforms have tools to let you use HTTPS. See [[https:// | ||
Line 19: | Line 38: | ||
Take note of the "What you need" section. Then, choose your webserver (' | Take note of the "What you need" section. Then, choose your webserver (' | ||
+ | Port 80 must be open to obtain and renew a certificate. | ||
Once you have certbot installed, if you are using Apache, you can run | Once you have certbot installed, if you are using Apache, you can run | ||
Line 88: | Line 108: | ||
to be restarted to use the new certificate. | to be restarted to use the new certificate. | ||
- | You can set commands to be run before/ | + | You can set commands to be run before/ |
There is a script in Greenstone3 - '' | There is a script in Greenstone3 - '' | ||
- | '' | + | '' |
- | You can see the options for a renewal at / | + | You can see the options for a renewal at '' |
Note, automatic running of this script requires some setup for sudo to be run with no password. See below. | Note, automatic running of this script requires some setup for sudo to be run with no password. See below. |
en/user_advanced/gs3_https.1739407598.txt.gz · Last modified: 2025/02/13 00:46 by kjdon