How to Setup Let’sEncrypt on Amazon Linux

26. February 2017 Note , , ,

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;

 


Leave a Reply

Your email address will not be published. Required fields are marked *