Uploading GoDaddy SSL cert on AWS Load Balancer

So you have purchased an SSL certificate from GoDaddy and now you want to deploy it on the Amazon Load Balancer. This article assumes you generated the CSR before buying the certificate following the steps described here

In the AWS web console, go the “Load Balancers” section. Select your ELB and click on the “Listeners” tab. Now add a new listener for HTTPS.

Screen Shot 2014-09-25 at 9.02.41 AM

Click on the “Change” link the “SSL Certificate” column. You will see the following screen.

Screen Shot 2014-09-25 at 9.07.06 AM

Certificate Name: Enter the name you want to give this certificate.

Private Key: This private key is the one you generated when generating the CSR. If you followed the steps here, it is called server.key. This file will now have to be altered to create an Amazon supported private key. This can be done using openssl as follows.

openssl rsa -in server.key -out decrypted-server-key.pem

Now copy the contents of the file decrypted-server-key.pem and paste them into the “Private Key” section.

Public Key Certificate: This is the file that you got from GoDaddy, it you look something like “yourdomain.crt”. You now must get it into the Amazon supported form. This can be done using openssl as follows.

openssl x509 -inform PEM -in yourdomain.crt

Copy the entire output of the command above and past it into the “Public Key Certificate” section.

Thats it. Click on “Save” and you are done.