{"id":657,"date":"2021-10-01T08:21:11","date_gmt":"2021-10-01T06:21:11","guid":{"rendered":"https:\/\/marschner.goip.de\/?p=657"},"modified":"2021-10-01T09:17:22","modified_gmt":"2021-10-01T07:17:22","slug":"free-ssl-zertifikat-mit-lets-encrypt","status":"publish","type":"post","link":"https:\/\/marschner.goip.de\/index.php\/2021\/10\/01\/free-ssl-zertifikat-mit-lets-encrypt\/","title":{"rendered":"Free SSL Zertifikat mit Let&#8217;s Encrypt"},"content":{"rendered":"<p>Installation des Certbots mit Plugin f\u00fcr das Erstellen eines SSL Zertifikats<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>su\napt install certbot python3-certbot-apache<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>Erstellen des Zertifikats<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>certbot --apache<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p><img decoding=\"async\" width=\"691\" height=\"104\" src=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot0.jpg\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot0.jpg 691w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot0-300x45.jpg 300w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot0-200x30.jpg 200w\" sizes=\"auto, (max-width: 691px) 100vw, 691px\"><br \/>\n<img decoding=\"async\" width=\"651\" height=\"121\" src=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot1.jpg\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot1.jpg 651w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot1-300x56.jpg 300w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot1-200x37.jpg 200w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\"><br \/>\n<img decoding=\"async\" width=\"650\" height=\"119\" src=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot2.jpg\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot2.jpg 650w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot2-300x55.jpg 300w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot2-200x37.jpg 200w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\"><br \/>\n<img decoding=\"async\" width=\"673\" height=\"216\" src=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot3.jpg\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot3.jpg 673w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot3-300x96.jpg 300w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot3-200x64.jpg 200w\" sizes=\"auto, (max-width: 673px) 100vw, 673px\"><br \/>\n<img decoding=\"async\" width=\"1013\" height=\"170\" src=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot4.jpg\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot4.jpg 1013w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot4-300x50.jpg 300w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot4-768x129.jpg 768w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot4-200x34.jpg 200w\" sizes=\"auto, (max-width: 1013px) 100vw, 1013px\"><br \/>\n<img decoding=\"async\" width=\"589\" height=\"305\" src=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot5.jpg\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot5.jpg 589w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot5-300x155.jpg 300w, https:\/\/marschner.goip.de\/wp-content\/uploads\/2021\/10\/certbot5-200x104.jpg 200w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\"><\/p>\n<h2>\u00dcberpr\u00fcfen der automatischen Erneuerung von Certbot<\/h2>\n<p>Zertifikate von Let\u2019s Encrypt sind nur neunzig Tage g\u00fcltig. Dies soll Benutzer dazu ermutigen, ihren Prozess zur Erneuerung von Zertifikaten zu automatisieren und sicherzustellen, dass missbrauchte Zertifikate oder gestohlene Schl\u00fcssel eher fr\u00fcher als sp\u00e4ter ablaufen.<\/p>\n<p>Das von uns installierte&nbsp;<code>certbot<\/code>-Paket k\u00fcmmert sich um Erneuerungen, indem es ein Erneuerungsskript in&nbsp;<code>\/etc\/cron.d<\/code>&nbsp;einf\u00fcgt, das von einem&nbsp;<code>systemctl<\/code>-Dienst namens&nbsp;<code>certbot.timer<\/code>&nbsp;verwaltet wird. Dieses Skript wird zweimal pro Tag ausgef\u00fchrt und erneuert automatisch alle Zertifikate, die innerhalb von drei\u00dfig Tagen ablaufen.<\/p>\n<p>Um den Status dieses Dienstes zu \u00fcberpr\u00fcfen und sicherzustellen, dass er aktiv ist und ausgef\u00fchrt wird, k\u00f6nnen Sie Folgendes verwenden:<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>sudo systemctl status certbot.timer<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>Sie sehen eine Ausgabe, die dieser \u00e4hnelt:<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>Output\n\u25cf certbot.timer - Run certbot twice daily\n     Loaded: loaded (\/lib\/systemd\/system\/certbot.timer; enabled; vendor preset: enabled)\n     Active: active (waiting) since Tue 2020-04-28 17:57:48 UTC; 17h ago\n    Trigger: Wed 2020-04-29 23:50:31 UTC; 12h left\n   Triggers: \u25cf certbot.service\nApr 28 17:57:48 fine-turtle systemd[1]: Started Run certbot twice daily.<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n<p>Um den Erneuerungsprozess zu testen, k\u00f6nnen Sie mit&nbsp;<code>certbot<\/code>&nbsp;einen Probelauf durchf\u00fchren:<\/p>\n<pre data-line=\"\">\t\t\t\t<code readonly=\"true\">\n\t\t\t\t\t<xmp>certbot renew --dry-run<\/xmp>\n\t\t\t\t<\/code>\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Installation des Certbots mit Plugin f\u00fcr das Erstellen eines SSL Zertifikats su apt install certbot python3-certbot-apache Erstellen des Zertifikats certbot &#8211;apache \u00dcberpr\u00fcfen der automatischen Erneuerung von Certbot Zertifikate von Let\u2019s Encrypt sind nur neunzig Tage g\u00fcltig. Dies soll Benutzer dazu ermutigen, ihren Prozess zur Erneuerung von Zertifikaten zu automatisieren und sicherzustellen, dass missbrauchte Zertifikate oder [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":660,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,25],"tags":[],"class_list":["post-657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-server"],"_links":{"self":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/comments?post=657"}],"version-history":[{"count":18,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts\/657\/revisions"}],"predecessor-version":[{"id":685,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/posts\/657\/revisions\/685"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/media\/660"}],"wp:attachment":[{"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/categories?post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marschner.goip.de\/index.php\/wp-json\/wp\/v2\/tags?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}