Changes

Jump to navigation Jump to search
629 bytes added ,  16:26, 13 January 2016
→‎Using Letsencrypt.sh: Added renewal instructions
Line 217: Line 217:     
=== Using Letsencrypt.sh ===
 
=== Using Letsencrypt.sh ===
To be written
+
When run, the Letsencrypt.sh script will check your existing certificate to see how long it's valid.  If it has less than 30 days' lifetime remaining (by default; this can be changed by setting RENEW_DAYS in config.sh to something other than 30), the script will renew your certificates.  If more than 30 days remain, the script will exit without further action.  All that's necessary is to run letsencrypt.sh daily:
 +
nano -w /etc/cron.daily/call-letsencrypt.sh
 +
 
 +
Enter the following in this file:
 +
#!/bin/bash
 +
/usr/local/bin/letsencrypt.sh -c
 +
Ctrl-X to exit, Y to save.  Then make it executable:
 +
chmod +x /etc/cron.daily/call-letsencrypt.sh
    
== Backup ==
 
== Backup ==
147

edits

Navigation menu