|
|
| (22 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) |
| Zeile 1: |
Zeile 1: |
| =Install=
| | *[[Was ist Letsencrypt]] |
| *cd /usr/local/sbin | |
| *wget https://dl.eff.org/certbot-auto
| |
| *chmod a+x certbot-auto
| |
| =Real Install=
| |
| *certbot-auto certonly
| |
|
| |
|
| =Dry Run=
| |
| *certbot-auto renew --dry-run
| |
|
| |
|
| | =Prinzip= |
| | *https://letsencrypt.org/de/docs/challenge-types |
| | =Visit= |
| | *https://certbot.eff.org/ |
| | =Install= |
| | *[[Certbot Service Update Script]] |
| | *[[Letsencrpyt Manual Way]] |
| | *[[Letsencrpyt Ubuntu 16.04]] |
| | *[[Letsencrypt DNS Verification]] |
| | *[[Letsencrypt DNS Verification RFC2136]] |
| | *[[Let's Encrypt mit Cloudflare DNS-Challenge]] |
|
| |
|
| */usr/local/sbin/certbot-auto renew --no-self-upgrade --dry-run --force-renewal --pre-hook "systemctl stop apache2.service" --post-hook "systemctl start apache2.service
| | =Prozess= |
| | | *https://letsencrypt.org/de/how-it-works/ |
| =Cron Examples=
| |
| ==restart service==
| |
| */usr/local/sbin/certbot-auto renew --quiet --no-self-upgrade --post-hook "service apache2 restart" >> /var/log/letsencrypt.log 2>&1 | |
| ==stop and start service==
| |
| */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
| |
| ==specified domain==
| |
| */usr/local/sbin/certbot-auto certonly -n --apache -d www.xxxx-xx.de --post-hook --post-hook "service apache2 start"
| |
| =systemctl=
| |
| */usr/local/sbin/certbot-auto renew --no-self-upgrade --pre-hook "systemctl stop apache2.service" --post-hook "systemctl start apache2.service
| |
| | |
| =Don't forget to Backup this Directory because there are you Accountdata=
| |
| */etc/letsencrypt
| |
| | |
| =Links=
| |
| *https://certbot.eff.org/docs/using.html
| |