{"id":224,"date":"2017-11-21T11:55:20","date_gmt":"2017-11-21T11:55:20","guid":{"rendered":"https:\/\/www.farcorfe.org.uk\/?p=224"},"modified":"2017-11-21T11:55:20","modified_gmt":"2017-11-21T11:55:20","slug":"updating-certificates","status":"publish","type":"post","link":"https:\/\/www.farcorfe.org.uk\/?p=224","title":{"rendered":"Updating Certificates"},"content":{"rendered":"<p>Its that time again, to renew the SSL Cert with <a href=\"https:\/\/letsencrypt.org\/\">LetsEncrypt.<\/a><\/p>\n<p><a href=\"https:\/\/letsencrypt.org\/images\/letsencrypt-logo-horizontal.svg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium\" src=\"https:\/\/letsencrypt.org\/images\/letsencrypt-logo-horizontal.svg\" alt=\"Lets Encrypt Logo\" width=\"339\" height=\"81\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Following the renew instructions here<br \/>\n<a href=\"https:\/\/certbot.eff.org\/all-instructions\/#freebsd-none-of-the-above\">https:\/\/certbot.eff.org\/all-instructions\/#freebsd-none-of-the-above<\/a><\/p>\n<p>Essentially main steps are to stop Apache so it can bind to port 80 or 443.<\/p>\n<blockquote><p>sudo apachectl stop<\/p>\n<p>sudo certbot renew -dry-run<\/p>\n<p>sudo certbot renew<\/p>\n<p>sudo apachectl start<\/p><\/blockquote>\n<p>Assuming all goes well, the new cert will be applied.\u00a0 \u00a0Next step is to set up a CRON job to automate this every 60 days.<\/p>\n<p>&nbsp;<\/p>\n<p>Bootnote: whilst updating WordPress I also got around to enabling Google Analytics following instructions from\u00a0<a href=\"http:\/\/www.wpbeginner.com\/beginners-guide\/how-to-install-google-analytics-in-wordpress\/\">http:\/\/www.wpbeginner.com\/beginners-guide\/how-to-install-google-analytics-in-wordpress\/\u00a0<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Its that time again, to renew the SSL Cert with LetsEncrypt. &nbsp; &nbsp; Following the renew instructions here https:\/\/certbot.eff.org\/all-instructions\/#freebsd-none-of-the-above Essentially main steps are to stop Apache so it can bind to port 80 or 443. sudo apachectl stop sudo certbot renew -dry-run sudo certbot renew sudo apachectl start Assuming all goes well, the new cert &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.farcorfe.org.uk\/?p=224\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Updating Certificates&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-free"],"_links":{"self":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=224"}],"version-history":[{"count":0,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=\/wp\/v2\/posts\/224\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.farcorfe.org.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}