adding an SSL cert to my Amazon AMI Linux distro

0

I was following this how-to: https://nouveauframework.org/blog/installing-letsencrypts-free-ssl-amazon-linux/

and it leverages LetsEncrypt so i was happy to use it. I was entering this command and was getting error on the script.

Command:

certbot-auto --debut -v --server https://acme-v01.api.letsencrypt.org/directory certonly -d mywebsite.com

It says it is creating the virtual environment but then fails.

/usr/local/bin/certbot-auto: line 679: virtualenv: command not found

I am not sure what that means. Maybe I am doing something wrong, but i dont really know what.

According to uname -a I am:

Linux www.mywebsite.com 2.6.35.14-95.38.amzn1.x86_64 #1 SMP Thu Aug 25 17:11:23 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Right now when i run the certbot-auto script, it checks that all the packages are the correct version so nothing else is installed.

Is there something wrong with Amazon AMI EC2 instance servers that prevent this?

Fallenreaper

Posted 2017-05-10T21:22:39.490

Reputation: 133

sudo certbot-auto ...? – Michael - sqlbot – 2017-05-11T01:34:58.770

I tried that too. I actually was working as root at the time for configuration purposes.. – Fallenreaper – 2017-05-11T13:22:13.307

The error message is fairly clear that something it needs isn't available. This github question gives suggestions how to solve it, as does this one.

– Tim – 2017-06-06T22:55:09.713

No answers