Run Following Commands :
Install mod ssl using following command
If you have installed httpd using `sudo yum install httpd`, install mod_ssl using
`sudo yum install mod_ssl`
Now install certificates using
https://coderwall.com/p/e7gzbq/https-with-certbot-for-nginx-on-amazon-linux
curl -O https://dl.eff.org/certbot-auto chmod +x certbot-auto sudo mv certbot-auto /usr/local/bin/certbot-autoMake sure apache is running on 443 port and it is opened.
Install mod ssl using following command
sudo yum install mod24_ssl
We have used this command because we have installed httpd using `sudo yum install -y httpd24 php56 php56-mysqlnd` If you have installed httpd using `sudo yum install httpd`, install mod_ssl using
`sudo yum install mod_ssl`
Now install certificates using
certbot-auto -d domain.com --debug
https://coderwall.com/p/e7gzbq/https-with-certbot-for-nginx-on-amazon-linux