Installing letsencrypt on Amazon Linux 2015.09

Hi Let’s Encrypt Community,

I’m having some issue installing letsencrypt on my AWS server (64bit Amazon Linux 2015.09 v2.0.7 running PHP 5.6) for quite some time. Below is the procedure I have done so far:

  1. I have installed letsencrypt
  2. I have obtained my certificate which is located in the letsencrypt\live directory

Now this is where i’m stuck at: I have to setup the SSL for port 443 for the virtualhost. But my server doesn’t have Nginx, nor do I know where to go to make the necessary virtualhost changes.

Can someone direct me in the right direction as well as inform me of the necessary steps after I setup the virtualhost?


your webserver Apache?

No it doesn't use apache. It's a PHP platform

I think you can follow Apache ssl setup for virtual host as I believe by default aws has apache2

I’m not sure I can follow the apache ssl setup. In my etc/ directory i don’t have any apache files/folder

from here
sudo yum install -y mod24_ssl
then edit /etc/httpd/conf.d/ssl.conf

Find the section that begins with <VirtualHost _default_:443> and make some quick changes.

Uncomment the DocumentRoot and ServerName line and replace with your DNS approved domain name or server IP address (it
should be the same as the common name on the certificate):


Find the following three lines, and make sure that they match the extensions below:

SSLEngine on
SSLCertificateFile /path/to/letsencrypt_fullchain.pem
SSLCertificateKeyFile /path/to/letsencrypt_privkey.pem

Your virtual host is now all set up! Save and Exit out of the file.

then restart apache using sudo service httpd restart

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.