{"id":499,"date":"2019-02-25T17:52:00","date_gmt":"2019-02-26T00:52:00","guid":{"rendered":"https:\/\/www.ngfamily.dynu.com\/ngwp\/?p=499"},"modified":"2024-07-28T07:07:10","modified_gmt":"2024-07-28T13:07:10","slug":"lets-encrypt-auto-renewal","status":"publish","type":"post","link":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/?p=499","title":{"rendered":"Let&#8217;s Encrypt auto renewal"},"content":{"rendered":"\n<p>First, I would suggest looking for all the commands to your specific setup <a href=\"https:\/\/certbot.eff.org\/\">here<\/a>. But since I am running a combination of things that aren&#8217;t listed on that page, I had to dig elsewhere.<\/p>\n\n\n\n<p>Centos 7 should have epel already enabled but if not\u2026<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo yum install epel-release\n$ sudo yum install httpd mod_ssl python-certbot-apache<\/code><\/pre>\n\n\n\n<p>Configure certbot with your specific setup<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo certbot --apache -d example.com -d www.example.com -d etc.example.com<\/code><\/pre>\n\n\n\n<p>Note: I don&#8217;t have a www domain prefix defined so I did not include that domain.<\/p>\n\n\n\n<p>And finally, I trigger the auto renewal process.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ sudo certbot renew<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>First, I would suggest looking for all the commands to your specific setup here. But since I am running a combination of things that aren&#8217;t listed on that page, I had to dig elsewhere. Centos 7 should have epel already enabled but if not\u2026 Configure certbot with your specific setup Note: I don&#8217;t have a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":500,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[34,28,19],"tags":[],"class_list":["post-499","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-homelab","category-programming","category-projects"],"_links":{"self":[{"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=\/wp\/v2\/posts\/499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=499"}],"version-history":[{"count":1,"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=\/wp\/v2\/posts\/499\/revisions\/501"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=\/wp\/v2\/media\/500"}],"wp:attachment":[{"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ngfamily.freeddns.org\/ngwp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}