{"id":289,"date":"2016-04-14T16:59:19","date_gmt":"2016-04-14T20:59:19","guid":{"rendered":"https:\/\/www.ccrossan.com\/?p=289"},"modified":"2016-04-14T17:13:20","modified_gmt":"2016-04-14T21:13:20","slug":"lets-encrypt-setup","status":"publish","type":"post","link":"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/","title":{"rendered":"Let&#8217;s Encrypt Setup"},"content":{"rendered":"\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=crossan007\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n<p>The &#8220;Let&#8217;s Encrypt&#8221; setup process is very painless &#8211; Just clone a Git repo, run a comand, and edit some apache config files.<\/p>\n<ol>\n<li>sudo apt-get install git<\/li>\n<li>\u00a0sudo git clone https:\/\/github.com\/letsencrypt\/letsencrypt \/opt\/letsencrypt<\/li>\n<li>cd \/opt\/letsencrypt<\/li>\n<li>.\/letsencrypt-auto &#8211;apache -d ccrossan.com -d www.ccrossan.com<\/li>\n<li>edit the sites-enabled config files so that the appropriate virtual host uses the correct ssl certs.<\/li>\n<li>delete the newly generated ssl.conf file<\/li>\n<li>restart apache<\/li>\n<li>[Optional] Set up Cron for auto-renew<\/li>\n<li>sudo crontab -e<\/li>\n<li>30 2 * * 1 \/opt\/letsencrypt\/letsencrypt-auto renew &gt;&gt; \/var\/log\/le-renew.log<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-set-up-let-s-encrypt-certificates-for-multiple-apache-virtual-hosts-on-ubuntu-14-04\">These commands taken from the DigitalOcean Let&#8217;s Encrypt Setup Guide<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;Let&#8217;s Encrypt&#8221; setup process is very painless &#8211; Just clone a Git repo, run a comand, and edit some apache config files. sudo apt-get install git \u00a0sudo git clone https:\/\/github.com\/letsencrypt\/letsencrypt \/opt\/letsencrypt cd \/opt\/letsencrypt .\/letsencrypt-auto &#8211;apache -d ccrossan.com -d www.ccrossan.com edit the sites-enabled config files so that the appropriate virtual host uses the correct ssl &hellip; <a href=\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Let&#8217;s Encrypt Setup<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[53,1],"tags":[97,117,116,118,115],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Let&#039;s Encrypt Setup - Charles&#039; Blog\" \/>\n<meta property=\"og:description\" content=\"The &#8220;Let&#8217;s Encrypt&#8221; setup process is very painless &#8211; Just clone a Git repo, run a comand, and edit some apache config files. sudo apt-get install git \u00a0sudo git clone https:\/\/github.com\/letsencrypt\/letsencrypt \/opt\/letsencrypt cd \/opt\/letsencrypt .\/letsencrypt-auto &#8211;apache -d ccrossan.com -d www.ccrossan.com edit the sites-enabled config files so that the appropriate virtual host uses the correct ssl &hellip; Continue reading Let&#8217;s Encrypt Setup &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/\" \/>\n<meta property=\"og:site_name\" content=\"Charles&#039; Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-14T20:59:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-14T21:13:20+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"crossan007\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#website\",\"url\":\"https:\/\/crossan007.dev\/blog\/\",\"name\":\"Charles&#039; Blog\",\"description\":\"SharePoint | PowerShell | Exchange | SCCM | Ubuntu | PHP | JavaScript | A\/V Live Production | More...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crossan007.dev\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/#webpage\",\"url\":\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/\",\"name\":\"Let's Encrypt Setup - Charles&#039; Blog\",\"isPartOf\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/#website\"},\"datePublished\":\"2016-04-14T20:59:19+00:00\",\"dateModified\":\"2016-04-14T21:13:20+00:00\",\"author\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979\"},\"breadcrumb\":{\"@id\":\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crossan007.dev\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Let&#8217;s Encrypt Setup\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979\",\"name\":\"crossan007\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/crossan007.dev\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g\",\"caption\":\"crossan007\"},\"url\":\"https:\/\/crossan007.dev\/blog\/author\/crossan007\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/","og_locale":"en_US","og_type":"article","og_title":"Let's Encrypt Setup - Charles&#039; Blog","og_description":"The &#8220;Let&#8217;s Encrypt&#8221; setup process is very painless &#8211; Just clone a Git repo, run a comand, and edit some apache config files. sudo apt-get install git \u00a0sudo git clone https:\/\/github.com\/letsencrypt\/letsencrypt \/opt\/letsencrypt cd \/opt\/letsencrypt .\/letsencrypt-auto &#8211;apache -d ccrossan.com -d www.ccrossan.com edit the sites-enabled config files so that the appropriate virtual host uses the correct ssl &hellip; Continue reading Let&#8217;s Encrypt Setup &rarr;","og_url":"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/","og_site_name":"Charles&#039; Blog","article_published_time":"2016-04-14T20:59:19+00:00","article_modified_time":"2016-04-14T21:13:20+00:00","twitter_misc":{"Written by":"crossan007","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/crossan007.dev\/blog\/#website","url":"https:\/\/crossan007.dev\/blog\/","name":"Charles&#039; Blog","description":"SharePoint | PowerShell | Exchange | SCCM | Ubuntu | PHP | JavaScript | A\/V Live Production | More...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crossan007.dev\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/#webpage","url":"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/","name":"Let's Encrypt Setup - Charles&#039; Blog","isPartOf":{"@id":"https:\/\/crossan007.dev\/blog\/#website"},"datePublished":"2016-04-14T20:59:19+00:00","dateModified":"2016-04-14T21:13:20+00:00","author":{"@id":"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979"},"breadcrumb":{"@id":"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crossan007.dev\/blog\/uncategorized\/lets-encrypt-setup\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crossan007.dev\/blog\/"},{"@type":"ListItem","position":2,"name":"Let&#8217;s Encrypt Setup"}]},{"@type":"Person","@id":"https:\/\/crossan007.dev\/blog\/#\/schema\/person\/bd99569cd81332c8fd866d023848b979","name":"crossan007","image":{"@type":"ImageObject","@id":"https:\/\/crossan007.dev\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fff72c74fb6a0da29accf0db83ad4b4b?s=96&d=mm&r=g","caption":"crossan007"},"url":"https:\/\/crossan007.dev\/blog\/author\/crossan007\/"}]}},"_links":{"self":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/289"}],"collection":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/comments?post=289"}],"version-history":[{"count":1,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/289\/revisions"}],"predecessor-version":[{"id":290,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/posts\/289\/revisions\/290"}],"wp:attachment":[{"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/media?parent=289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/categories?post=289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crossan007.dev\/blog\/wp-json\/wp\/v2\/tags?post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}