<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I remember all the times it was painful to set up https, and so I’d been putting it off after migrating two sites over to my VPS.<div class=""><br class=""></div><div class=""><div class=""># certbot -d <a href="http://deirdre.net" class="">deirdre.net</a> -d deirdre.dev</div><div class=""><br class=""></div><div class="">Saving debug log to /var/log/letsencrypt/letsencrypt.log</div><div class="">Plugins selected: Authenticator apache, Installer apache</div><div class="">Enter email address (used for urgent renewal and security notices) (Enter 'c' to</div><div class="">cancel): <a href="mailto:deirdre@deirdre.net" class="">deirdre@deirdre.net</a></div><div class=""><br class=""></div><div class="">[…]</div><div class=""><br class=""></div><div class="">Obtaining a new certificate</div></div><div class=""><br class=""></div><div class="">[…]</div><div class=""><br class=""></div><div class=""><div class="">Created an SSL vhost at /etc/apache2/sites-enabled/<a href="http://deirdre.net" class="">deirdre.net</a>-le-ssl.conf</div><div class="">Enabled Apache socache_shmcb module</div><div class="">Enabled Apache ssl module</div><div class="">Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/<a href="http://deirdre.net" class="">deirdre.net</a>-le-ssl.conf</div><div class="">Created an SSL vhost at /etc/apache2/sites-enabled/deirdre.dev-le-ssl.conf</div><div class="">Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/deirdre.dev-le-ssl.conf</div><div class=""><br class=""></div><div class="">Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.</div><div class="">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</div><div class="">1: No redirect - Make no further changes to the webserver configuration.</div><div class="">2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for</div><div class="">new sites, or if you're confident your site works on HTTPS. You can undo this</div><div class="">change by editing your web server's configuration.</div><div class="">- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</div><div class="">Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2</div></div><div class=""><br class=""></div><div class="">[…]</div><div class=""><br class=""></div><div class="">…and just like that, it was done. And live.</div><div class=""><br class=""></div><div class="">Now, I just need to make sure that some of the things that were in my main .conf files get transferred over, but apart from that, easy peasy.</div><div class=""><br class=""></div><div class="">Can recommend.</div><div class=""><br class=""></div><div class="">Deirdre</div></body></html>