User Tools

Site Tools


letsencrypt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
letsencrypt [2016/12/18 13:31]
ian
letsencrypt [2017/09/10 23:11]
ian
Line 21: Line 21:
 </code> </code>
  
-2. Add a monthly script to perform the renewals+2. Add a weekly script to perform the renewals
  
 <code> <code>
Line 30: Line 30:
 logger "Start: $0" logger "Start: $0"
  
-' >> /etc/cron.monthly/letsencrypt-renew +' >> /etc/cron.weekly/letsencrypt-renew 
-# chmod u+x /etc/cron.monthly/letsencrypt-renew+# chmod u+x /etc/cron.weekly/letsencrypt-renew
 </code> </code>
  
Line 51: Line 51:
  
 4. <code> 4. <code>
-echo '/usr/local/sbin/certbot-auto renew --post-hook "systemctl reload apache2"' >> /etc/cron.monthly/letsencrypt-renew+echo '/usr/local/sbin/certbot-auto renew --deploy-hook "systemctl reload apache2"' >> /etc/cron.weekly/letsencrypt-renew
 </code> </code>
  
Line 82: Line 82:
 </code> </code>
  
-6. You can repeat steps 4-6 for any additional SSL certificates for other public sites on the server.+6. You can repeat steps 5-6 for any additional SSL certificates for other public sites on the server.
  
-**/etc/cron.monthly/99letsencrypt-renew**:+**/etc/cron.weekly/letsencrypt-renew**:
 <code> <code>
 #!/bin/bash #!/bin/bash
Line 92: Line 92:
 logger "Start: $0" logger "Start: $0"
  
-/usr/local/sbin/certbot-auto renew --post-hook "systemctl reload apache2"+/usr/local/sbin/certbot-auto renew --deploy-hook "systemctl reload apache2"
  
 logger "End: $0" logger "End: $0"
 </code> </code>
  
letsencrypt.txt · Last modified: 2020/02/13 22:55 (external edit)

free spam filter