Benutzer-Werkzeuge

Webseiten-Werkzeuge


letsencrypt

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
letsencrypt [2022/08/21 14:38] – angelegt mholetsencrypt [2022/08/21 15:03] (aktuell) mho
Zeile 11: Zeile 11:
 /etc/systemd/system/certbot-renewal.service /etc/systemd/system/certbot-renewal.service
  
 +<code>
 [Unit] [Unit]
 Description=Certbot Renewal Description=Certbot Renewal
Zeile 16: Zeile 17:
 [Service] [Service]
 ExecStart=/usr/bin/certbot renew --post-hook "systemctl restart httpd" ExecStart=/usr/bin/certbot renew --post-hook "systemctl restart httpd"
 +</code>
 The above service executes the certbot renew command and restarts the httpd service after the renewal process has completed. The above service executes the certbot renew command and restarts the httpd service after the renewal process has completed.
 Timer unit file Timer unit file
Zeile 25: Zeile 26:
 /etc/systemd/system/certbot-renewal.timer /etc/systemd/system/certbot-renewal.timer
  
 +<code>
 [Unit] [Unit]
 Description=Timer for Certbot Renewal Description=Timer for Certbot Renewal
Zeile 34: Zeile 36:
 [Install] [Install]
 WantedBy=multi-user.target WantedBy=multi-user.target
 +</code>
 Using systemctl and journalctl Using systemctl and journalctl
  
Zeile 63: Zeile 65:
  
 Sample output Sample output
 +<code>
 -- Logs begin at Wed 2017-06-21 11:15:09 CDT, end at Thu 2017-11-30 12:38:26 CST. -- -- Logs begin at Wed 2017-06-21 11:15:09 CDT, end at Thu 2017-11-30 12:38:26 CST. --
 Jun 22 13:53:14 arch systemd[1]: Started Certbot Renewal. Jun 22 13:53:14 arch systemd[1]: Started Certbot Renewal.
Zeile 75: Zeile 77:
 Jun 22 13:53:16 arch certbot[3299]: No renewals were attempted. Jun 22 13:53:16 arch certbot[3299]: No renewals were attempted.
 Jun 22 13:53:16 arch certbot[3299]: No hooks were run. Jun 22 13:53:16 arch certbot[3299]: No hooks were run.
 +</code>
  
letsencrypt.1661085487.txt.gz · Zuletzt geändert: 2022/08/21 14:38 von mho

Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki