Letsencrypt: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
=Install=
 
=Install=
*cd /usr/local/bin
+
*cd /usr/local/sbin
 
*wget https://dl.eff.org/certbot-auto
 
*wget https://dl.eff.org/certbot-auto
 
*chmod a+x certbot-auto
 
*chmod a+x certbot-auto

Version vom 10. März 2017, 15:57 Uhr

Install

Real Install

  • certbot-auto certonly

Dry Run

  • certbot-auto renew --dry-run


Cron Examples

  • /usr/local/sbin/certbot-auto renew --quiet --no-self-upgrade --post-hook "service apache2 restart" >> /var/log/letsencrypt.log 2>&1
  • /usr/local/sbin/certbot-auto renew --quiet --no-self-upgrade --pre-hook "service apache2 stop" --post-hook "service apache2 start" >> /var/log/letsencrypt.log 2>&1

Links