automated_free_https_secure_web_ssl_certs
Differences
This shows you the differences between two versions of the page.
| automated_free_https_secure_web_ssl_certs [2026/10/24 18:49] – created admin | automated_free_https_secure_web_ssl_certs [2026/10/24 18:56] (current) – Page complete admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | = Automated Free HTTPS Secure Web SSL Certificates | + | =====Automated Free HTTPS Secure Web SSL Certificates===== |
| Debian (amongst other linux distros) have a package that can be used to automatically get https ssl certs for your apache setup. What used to be quite a process creating self signed certs, can now be fully automated with Lets Encrypt ( https:// | Debian (amongst other linux distros) have a package that can be used to automatically get https ssl certs for your apache setup. What used to be quite a process creating self signed certs, can now be fully automated with Lets Encrypt ( https:// | ||
| Lets Encrypt gives SSL certs for 90 days (but may reduce to 64 days). That is not a problem however, as cron will automatically request a new certificate when the time comes. | Lets Encrypt gives SSL certs for 90 days (but may reduce to 64 days). That is not a problem however, as cron will automatically request a new certificate when the time comes. | ||
| - | == Install Package == | + | ==== Install Package |
| + | < | ||
| | | ||
| - | |||
| | | ||
| + | </ | ||
| End Result -> | End Result -> | ||
| - | ##### | + | |
| + | < | ||
| Account registered. | Account registered. | ||
| Requesting a certificate for xxxx.com | Requesting a certificate for xxxx.com | ||
| Line 23: | Line 25: | ||
| Deploying certificate | Deploying certificate | ||
| - | Successfully deployed certificate for sburke.eu to / | + | Successfully deployed certificate for xxxx.com to / |
| Congratulations! You have successfully enabled HTTPS on https:// | Congratulations! You have successfully enabled HTTPS on https:// | ||
| - | ##### | + | |
| + | </ | ||
| Right, so what did it do! | Right, so what did it do! | ||
| + | |||
| Well it correctly picked up the correct config in apache and modified it to add into < | Well it correctly picked up the correct config in apache and modified it to add into < | ||
| + | < | ||
| RewriteEngine on | RewriteEngine on | ||
| RewriteCond %{SERVER_NAME} =www.xxxx.com [OR] | RewriteCond %{SERVER_NAME} =www.xxxx.com [OR] | ||
| RewriteCond %{SERVER_NAME} =xxxx.com | RewriteCond %{SERVER_NAME} =xxxx.com | ||
| RewriteRule ^ https:// | RewriteRule ^ https:// | ||
| + | </ | ||
| It then created a new vhost config: | It then created a new vhost config: | ||
| + | |||
| / | / | ||
| - | Copying details of existing vhost for 80 and modifying it for 443. | ||
| + | Copying details of existing vhost for 80 and modifying it for 443. | ||
| + | < | ||
| < | < | ||
| ServerAdmin email@domain.com | ServerAdmin email@domain.com | ||
| Line 58: | Line 66: | ||
| </ | </ | ||
| </ | </ | ||
| + | </ | ||
| It reloaded apache. | It reloaded apache. | ||
| Volia. Magic. Site not encrypted. | Volia. Magic. Site not encrypted. | ||
| - | Unbelievably easy. Really. Kudos cerbot, lets encrypt and debian. | + | Unbelievably easy. Really. Kudos certbot, lets encrypt and Debian. |
| Crontab added in: | Crontab added in: | ||
| + | |||
| cat / | cat / | ||
| Line 79: | Line 90: | ||
| Refs: | Refs: | ||
| - | https:// | + | * https:// |
| - | https:// | + | |
| - | https:// | + | |
automated_free_https_secure_web_ssl_certs.1792867766.txt.gz · Last modified: 2026/10/24 18:49 by admin