Using Let’s encrypt to generate a certificte

One can use the Let’s Encrypt service to generate automatically a valid x509 certificate for web-services.

Debian/Ubuntu

Instructions on: https://certbot.eff.org/#ubuntutyakkety-nginx

Enable certbot ubuntu repo:

$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update

Install certbot for nginx:

$ sudo apt-get install python-certbot-nginx