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:
I have installed letsencrypt
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?
Find the section that begins with <VirtualHost _default_:443> and make some quick changes.
Uncomment the DocumentRoot and ServerName line and replace example.com with your DNS approved domain name or server IP address (it
should be the same as the common name on the certificate):
ServerName example.com:443
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