Ad Code

Responsive Advertisement

Ticker

6/recent/ticker-posts

Install GoDaddy SSL certificate on AWS EC2 instance

Install GoDaddy SSL certificate on AWS EC2 instance

To Install the GoDady SSL certificate on AWS Ec2 we have to do the following things:

1. We have to loged in on GoDaday Account with login details:

2. Then go to the main page and then go to under the SSL configurtion and click on setup/manage if your doing the first time then click on setup or if you are doing the renewal then click on manage of selected domain.
3. Then go to the Manage Certificate
4. For Renew click on Re-Key your certificate, for create Rekey we need Certificate Signing Request (CSR) file
5. For creating CSR file we have to go to on AWS EC2 server





For connnect with AWS EC2 you need .pem file and URL
1. open terminal ssh -i "your.pem" user@your_ip
2. click enter
3. Now we are connectd to our AWS EC2 we have to create .csr file and .key file
4.Enter this command

sudo openssl req -nodes -newkey rsa:2048 -keyout my_website.key -out my_website.csr

above command will create .key file and for creating .csr file they ask few things your wish to provide or go with default
5. Now open your .cs file with command
less yourfile.csr and copy and go to GoDady and paste under ReKey section 6. Then click on Add change button


7. Then Click on Submit changes, it will take 1 or 2 min to activate this then your have to download the zip file based on your server like apache, ningex etc...
8. Then you have to upload your downloaded file on AWS EC2


9. for uploading the this you can use filezila or command here we can do with the command copy file from local machine or your laptop to AWS EC2:

scp -i your.pem -r /copy file/path/ user@aws-ec2-ip:~/.
10. Then unzip this file /ect/apache2/ssl/name of your folder/
11. Then now we have to configure the path of ssl on /etc/apache2/sites-available/default.ssl.conf for open it use command
sudo vim default.ssl.conf
For inserting enter shift+i then

SSLCertificateFile /etc/apache2/ssl/your folder/your file.crt

SSLCertificateKeyFile /etc/apache2/ssl/your folder/your file.key

SSLCertificateChainFile /etc/apache2/ssl/your folder/your file.crt


12. Then restart the apache
sudo service apache2 start




Now your GoDady SSL configure done on AWS EC2
Enjoy Thanks!!!

Post a Comment

0 Comments