{"id":11,"date":"2026-01-18T21:16:39","date_gmt":"2026-01-18T21:16:39","guid":{"rendered":"https:\/\/strawcottage.mine.nu\/?p=11"},"modified":"2026-01-18T21:19:54","modified_gmt":"2026-01-18T21:19:54","slug":"installing-certbot","status":"publish","type":"post","link":"https:\/\/strawcottage.mine.nu\/?p=11","title":{"rendered":"Installing Certbot"},"content":{"rendered":"\n<p>For this article I followed <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ssl\/lets-encrypt-ssl-ubuntu-with-certbot\/\">this guide<\/a>, This is more a note to self, so check the article for more options.<\/p>\n\n\n\n<p>After reinstalling the server os, one of the things I had to do was to set up Certbot again. This adds an SSL certificate and removes the scary warning and adds a padlock by your URL in the browser window.<\/p>\n\n\n\n<p>You&#8217;ll first need to install Certbot for either Apache or Nginix<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install certbot python3-certbot-apache<\/code><\/pre>\n\n\n\n<p>Then use Certbot to create an SSl certificate<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot --apache -d example.com -d www.example.com<\/code><\/pre>\n\n\n\n<p>You&#8217;l then be asked a few questions, like your email address, agree to terms and services and whether you want to receive emails from the EFF.<\/p>\n\n\n\n<p>In my case it initially failed due to a DNS problem amd an improperly set up vhost in Apache. Running this code ram a more verbose setup that fixed the vhost problem.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo certbot -v<\/code><\/pre>\n\n\n\n<p>You can then go to <a href=\"https:\/\/www.whynopadlock.com\/\/\">whynopadlock.com<\/a> to check your status.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For this article I followed this guide, This is more a note to self, so check the article for more options. After reinstalling the server os, one of the things I had to do was to set up Certbot again. This adds an SSL certificate and removes the scary warning and adds a padlock by [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":16,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development"],"_links":{"self":[{"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":3,"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":18,"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions\/18"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=\/wp\/v2\/media\/16"}],"wp:attachment":[{"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/strawcottage.mine.nu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}