Hotfix release available: 2026-07-14a "Mort".
upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort".
upgrade now! [57] (what's this?)
Hotfix release available: 2025-05-14b "Librarian".
upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian".
upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian".
upgrade now! [56] (what's this?)
install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| install [2023/03/06 15:54] – [letsencrypt / HTTPS] rene | install [2024/08/05 17:28] (current) – rene | ||
|---|---|---|---|
| Line 348: | Line 348: | ||
| # it does also add some rewrite rules into your own base conf (/ | # it does also add some rewrite rules into your own base conf (/ | ||
| + | == Renewal (new) == | ||
| + | Open up port 80 in Apache conf: | ||
| + | vi / | ||
| - | == Renewal == | + | Generate new certs (select option " |
| - | Certificates expire in 90 days, but renewal is automatic. | + | certbot certonly --force-renewal -d bernard.ee |
| + | |||
| + | Check what was the new folder name created for new certs: | ||
| + | l / | ||
| + | |||
| + | Change cert folder in Apache conf (SSLCertificateFile / SSLCertificateKeyFile): | ||
| + | apache_conf | ||
| + | |||
| + | Restart apache: | ||
| + | apache_restart | ||
| + | |||
| + | If new cert works then remove old certs directory: | ||
| + | rm -rf / | ||
| + | |||
| + | |||
| + | # Updating rene.ee.... | ||
| + | NB! Ilmselt tuleb DNS'i verificationit kasutada, sest wildcard serti ei saa HTTP' | ||
| + | |||
| + | Disable index preview (as we need to make rene.ee publicly accessible for renewal) | ||
| + | / | ||
| + | apatche_restart | ||
| + | |||
| + | Removce htaccess to make rene.ee publicly accessible: | ||
| + | mv / | ||
| + | |||
| + | Rund the command (NB! Mind that it's wildcard!) (/ | ||
| + | certbot certonly --force-renewal -d *.rene.ee | ||
| + | |||
| + | Enable index htaccess | ||
| + | mv / | ||
| + | |||
| + | Enable index showing | ||
| + | / | ||
| + | apatche_restart | ||
| + | |||
| + | |||
| + | Clean up afterwards from here (not needed for web server): | ||
| + | / | ||
| + | |||
| + | Close port 80: | ||
| + | vi / | ||
| + | |||
| + | |||
| + | == Renewal | ||
| + | Certificates expire in 90 days. Renewal can only be automatic | ||
| You can check that the daemon is working: | You can check that the daemon is working: | ||
install.1678110852.txt.gz · Last modified: 2023/03/06 15:54 by rene
