Certified Security - Specialty

Sign Up Free or Log In to participate!

Using “let’s encrypt” to issue SSL certificate to EC2 Amazon AMI web server

Was curious is there are any good how-tos on utilizing https://letsencrypt.org/

to issue an SSL certificate to an already running EC2 instance using the Amazon Linux AMI

I found some instructions at https://nouveauframework.org/blog/installing-letsencrypts-free-ssl-amazon-linux/

but ran into some difficulties when running the "sudo ./certbot-auto –debug -v –server https://acme-v01.api.letsencrypt.org/directory certonly -d YOUR_WEBSITE_HERE"

The error received is "Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80."

If anyone could point me in the right direction on how to debug so that I can utilize "Let’s Encrypt" it would be much appreciated.

Note: "mydomain.com" is an obfuscated name for my actual domain name for which I own and run the authoratative DNS servers.

2 Answers

Figured it out.

Used https://nouveauframework.org/blog/vhosts-running-multiple-sites-on-a-single-aws-ec2-instance/

 as a guide to create my vhosts.conf

then the certbot work fine.  Added the correct paths into the ssl.conf and all is well.

SSL is the Secure socket layer which is a part of the HTTPS website. Google has launched a new rule for making all the website HTTPS because if someone uses any payment method then it is a secure payment and restricts hacking attack. SSL security uses 256-bit end to end encryption. Contact iCloud Support for more information.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?