Let's Encrypt public beta: first impressions

· Loouuulou59 · #linux #sécurité

Let's Encrypt opened its public beta on December 3rd, and this blog now has a free certificate. Here is how it went on the Raspberry Pi.

Getting the certificate

The official client is still rough around the edges, and I did not want it to touch my nginx configuration, so I used the webroot mode: the client drops a file in the site's directory and the CA checks it over HTTP.

git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
./letsencrypt-auto certonly --webroot -w /srv/www/blog -d example.org

The first run took forever on the Pi because the client builds its own Python virtualenv. Be patient.

The catch: 90 days

Certificates only last 90 days. That is a feature, not a bug: it forces you to automate. A monthly cron job does the renewal and reloads nginx:

0 3 1 * * /opt/letsencrypt/letsencrypt-auto renew --quiet && service nginx reload

Verdict

Free, automated, trusted by every browser. Paying for a basic DV certificate is going to look very strange very soon.