sudo su
yum install wget -y
wget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
(if we have no webroot yet, create one now by executing mkdir /var/www
)
/opt/certbot-auto certonly --webroot -w /var/www -d your.domain.tld --debug
nano /etc/cron.daily/certbot-renew
#! /bin/sh
/opt/certbot-auto renew
service nginx reload
http://blog.werise.de/2016/01/23/setting-up-a-letsencrypt-ssl-cert-with-nginx.html