Below are the steps to install SSL certificate from GoDaddy into an Amazon EC2 instance based on my experience. My server is Ubuntu 18.04 LTS. After you had purchased the SSL certificate, you need to supply the CSR (Certificate Signing Request) from your server. To do that, access your server via PuTTY or SSH and use this code:
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
Replace “server” with your preferred name.
Open the server.csr and paste it into GoDaddy.
Follow the steps in GoDaddy to validate your domain name after you supply them the CSR.
Once validated, download your certificate files from GoDaddy.
Upload the files in your
Move the server.key you had created earlier into
/etc/apache2/sites-available/default-ssl.conf via vim
Add these lines:
replace the crt and key files with your files, chain file is the gd-bundle.crt from GoDaddy. Save the file.
Enable SSL Mod
sudo a2enmod ssl
sudo service apache2 restart
Try to check your SSL if working alright on SSL checker tools page like Digicert.com
[image grab from SSL.com]