# Securing a Personal Website

So a while ago I decided that SSL/TLS ([why it's really TLS, not
SSL](https://thoughtstreams.io/glyph/there-is-no-ssl/)) was the
[right](http://googlewebmastercentral.blogspot.co.uk/2014/08/https-as-ranking-signal.html)
[thing](http://www.html5rocks.com/en/tutorials/service-worker/introduction/) to
do, but [CloudFlare's blog](https://blog.cloudflare.com/), the
seemingly endless [run of TLS/SSL
vulnerabilities](https://en.wikipedia.org/wiki/Transport_Layer_Security#Attacks_against_TLS.2FSSL),
and the various blog posts explaining just how complicated it is to [set up
TLS](https://wingolog.org/archives/2014/10/17/ffs-ssl) (let alone get an A+
rating on SSL Labs' SSL Test
[[1](https://scotthelme.co.uk/a-plus-rating-qualys-ssl-test/)][[2](https://sethvargo.com/getting-an-a-plus-on-qualys-ssl-labs-tester/)][[3](https://blog.surfnet.nl/en/pimp-your-ssllabs-rating/)]), got me all
depressed.

For a little while I considered holding out for the EFF-supported [Let's
Encrypt](https://letsencrypt.org/) project, which is supposed to make securing a
website as easy as [running two commands](https://letsencrypt.org/howitworks/)
but: (a) it's not available yet (it's arriving "Mid-2015"); and (b) I'm
skeptical that they can actually make it as easy as all that unless you're
running a very popular Linux distribution in a very default way, and I kinda
wanted to get out of the business of running my own HTTP server anyway.

Sadly it seems that these days, outsourcing TLS is the only simple, secure and
performant way to do it, as it is with DNS and SMTP. (This also provides a few
other bells and whistles that would otherwise be days or hours of work to
configure and maintain at the same time too, like abuse protection, a reverse
proxy and maybe even a CDN.)

I've investigated two approaches in a little bit of detail---Gandi's [Simple
Hosting](https://www.gandi.net/hosting/simple?language=nodejs&db=mongodb) and
CloudFlare's [Free Plan](https://www.cloudflare.com/plans) in [Flexible SSL
mode](https://support.cloudflare.com/hc/en-us/articles/200170416-What-do-the-SSL-options-Off-Flexible-SSL-Full-SSL-Full-SSL-Strict-mean-)---and
eventually went with Gandi. CloudFlare has more features, is likely to be faster
for anyone not in Paris (especially for the first page load), and is incredibly
easy to set up and configure (you [don't even need to buy a
certificate](https://blog.cloudflare.com/introducing-universal-ssl/)), but in
the end it's another piece of infrastructure to configure, if not exactly
"manage", and I already had a Gandi account, and a happy relationship with them.
A web site also seems like a fairly important bit of infrastructure to be
handled by a free service, especially since you also need to use their DNS
servers.

Anyway, the upshot of all this is that this site now runs on Gandi's PaaS
infrastructure, and I have an [A+ rating on SSL Labs's SSL
Test](https://www.ssllabs.com/ssltest/analyze.html?d=beebo.org). (Buying a
certificate through Gandi got me to an A; the A+ comes from enabling [HTTP
Strict Transport
Security](https://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security), which
is a little bit scary since I'm now committed to running `https://beebo.org` for
at least a year.)

<a href="https://www.ssllabs.com/ssltest/analyze.html?d=beebo.org">![A+ SSL Test screenshot](/img/misc/qualys-ssl-test.png)</a>
