First of All, we need CSR file to generate SSL certificate.
When you have completed generating your CSR, cut/copy and paste it into the CSR field on the SSL certificate-request page.
To Generate a Certificate Signing Request for Apache 2.x
$ openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
1. Ensure that you have installed mod_ssl and it is running
2. Upload your certificates on Instance say /home/ec2-user/ssl
3. Edit /etc/httpd/conf.d/ssl.conf
4. Find below lines and replace accordingly (Verify the filename and path are correct)
SSLCertificateFile /home/ec2-user/ssl/certs/site.com.crt
SSLCertificateKeyFile /home/ec2-user/ssl/keys/site.key
SSLCertificateKeyFile /home/ec2-user/ssl/keys/site.key
SSLCACertificateFile /home/ec2-user/ssl/ssl_files/gd_bundle.crt
5. Restart Apache
It’s Done.