Commit d34ba7

2026-11-12 15:37:35 Dave LeBlanc: SSL Certificates updated on Thu Nov 12 15:32:43 2026
sysadmin/ssl certificates.md ..
@@ 13,15 13,8 @@
`sudo certbot certonly --apache`
3. Set up automatic renewal
We recommend running the following line, which will add a cron job to the default crontab.
- `echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && certbot renew" | sudo tee -a /etc/crontab > /dev/null`
- 4. Confirm that Certbot worked
- To confirm that your site is set up properly, visit *https://yourwebsite.com/* in your browser and look for the lock icon in the URL bar. If you want to check that you have the top-of-the-line installation, you can head to https://www.ssllabs.com/ssltest/.
-
-## Canit HTTPS certs
-In case of emergency, and the SSL cert doesn't work when pasted below:
- 1. SSH as root to the Web server
- 2. Enter: `cd /usr/share/canit/certs`
- 3. Enter: `rm -f canit-appliance.???`
- 4. Enter: `cp -a dummy-selfsigned-cert.crt canit-appliance.crt`
- 5. Enter: `cp -a dummy-selfsigned-cert.key canit-appliance.key`
- 6. Enter: `/etc/init.d/apache2 restart`
+ echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' \
+ && certbot renew" | sudo tee -a /etc/crontab > /dev/null
+ 5. Confirm that Certbot worked
+ To confirm that your site is set up properly, visit *https://yourwebsite.com/* in your browser and look for the lock icon in the URL bar.
+If you want to check that you have the top-of-the-line installation, you can head to https://www.ssllabs.com/ssltest/.
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9