How to Setup Let’sEncrypt on Amazon Linux
To setup Let’sEncrypt on Amazon Linux, run following commands.
$ sudo yum update -y $ sudo yum install python-devel python-pip python-tools python-virtualenv $ sudo curl https://dl.eff.org/certbot-auto -o /usr/bin/certbot-auto $ sudo chmod 700 /usr/bin/certbot-auto
Then please execute the following command to issue SSL certificate .
sudo /usr/bin/certbot-auto certonly --standalone -d example.com --debug
Example configuration is following.
ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;