{"id":83,"date":"2021-02-03T16:22:07","date_gmt":"2021-02-03T06:22:07","guid":{"rendered":"http:\/\/gerardwknight.duckdns.org\/?page_id=83"},"modified":"2021-02-03T16:22:07","modified_gmt":"2021-02-03T06:22:07","slug":"adding-an-ssl-cerificate-to-a-pizero","status":"publish","type":"page","link":"https:\/\/gerardwknight.duckdns.org\/index.php\/adding-an-ssl-cerificate-to-a-pizero\/","title":{"rendered":"Adding An SSL Cerificate To  A PiZero"},"content":{"rendered":"\n<p>Adding an SSL certificate to this web site was simple using Let&#8217;s Encrypt.<\/p>\n\n\n\n<p>I followed a guide from pimylifeup.com <a href=\"https:\/\/pimylifeup.com\/raspberry-pi-ssl-lets-encrypt\/\">here<\/a>, but following is a summary of the steps.<\/p>\n\n\n\n<p>Make sure port 80 ad 443 are forwarded to the PiZero<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get upgrade\nsudo apt-get install python-certbot-apache\ncertbot --apache\n<\/code><\/pre>\n\n\n\n<p>Follow the prompts and the certificate will be installed.<\/p>\n\n\n\n<p>If you need to change or add domains after the process has completed, just run this command with all the domains you want to use.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo letsencrypt --apache -d mydomain.com,x.mydomain.com,y.mydomain.com<\/code><\/pre>\n\n\n\n<p>The script will then guide you through updating or replacing the domains.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding an SSL certificate to this web site was simple using Let&#8217;s Encrypt. I followed a guide from pimylifeup.com here, but following is a summary of the steps. Make sure port 80 ad 443 are forwarded to the PiZero Follow the prompts and the certificate will be installed. If you need to change or add [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Adding An SSL Cerificate To A PiZero - GerardWKnight<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/gerardwknight.duckdns.org\/index.php\/adding-an-ssl-cerificate-to-a-pizero\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding An SSL Cerificate To A PiZero - GerardWKnight\" \/>\n<meta property=\"og:description\" content=\"Adding an SSL certificate to this web site was simple using Let&#8217;s Encrypt. I followed a guide from pimylifeup.com here, but following is a summary of the steps. Make sure port 80 ad 443 are forwarded to the PiZero Follow the prompts and the certificate will be installed. If you need to change or add [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gerardwknight.duckdns.org\/index.php\/adding-an-ssl-cerificate-to-a-pizero\/\" \/>\n<meta property=\"og:site_name\" content=\"GerardWKnight\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gerardwknight.duckdns.org\/#website\",\"url\":\"https:\/\/gerardwknight.duckdns.org\/\",\"name\":\"GerardWKnight\",\"description\":\"Web site of Melbourne based developer Gerard Knight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/gerardwknight.duckdns.org\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gerardwknight.duckdns.org\/index.php\/adding-an-ssl-cerificate-to-a-pizero\/#webpage\",\"url\":\"https:\/\/gerardwknight.duckdns.org\/index.php\/adding-an-ssl-cerificate-to-a-pizero\/\",\"name\":\"Adding An SSL Cerificate To A PiZero - GerardWKnight\",\"isPartOf\":{\"@id\":\"https:\/\/gerardwknight.duckdns.org\/#website\"},\"datePublished\":\"2021-02-03T06:22:07+00:00\",\"dateModified\":\"2021-02-03T06:22:07+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gerardwknight.duckdns.org\/index.php\/adding-an-ssl-cerificate-to-a-pizero\/\"]}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/pages\/83"}],"collection":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":1,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/pages\/83\/revisions"}],"predecessor-version":[{"id":84,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/pages\/83\/revisions\/84"}],"wp:attachment":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/media?parent=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}