Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Install a Godaddy SSL Certificate on Google Cloud Platform

How do you transfer a Godaddy SSL certificate to the Google Cloud Platform?

I am trying to setup an HTTPS load balancer on Google Cloud. I have an SSL certificate from Godaddy, but I'm not sure how to input it into Google Cloud. Google has a form to enter a public key, a certificate chain, and a private key all in .pem format (see screenshot below). Godaddy provides me with three files: (1) a file called #####.crt, (2) a file called gd_bundle-g2-g1.crt, and (3) an RSA private key.

I've seen other SO questions on converting .crt to .pem, but I'm not sure what what to do with the .pem files when I have them or which of these three files go into which box in the GCE console below.

enter image description here

like image 218
speedplane Avatar asked Dec 04 '15 23:12

speedplane


People also ask

How do I install SSL certificate on Google cloud GoDaddy?

Click the blue Upload a new certificate button. On the new window, enter a name that will allow you to easily identify your SSL at a later date in the Name field. For the public key certificate field, simply paste the text from your randomly named . crt file, then in a new line paste the text from your gd_bundle.

How do I download SSL certificate from GoDaddy?

Go to your GoDaddy product page. Select SSL Certificates and select Manage for the certificate you want to download. Under Download Certificate, select a Server type and then select Download Zip File.

How do I renew my SSL certificate on Google Cloud Platform?

Click Frontend configuration. Click the correct front end (must be HTTPS, HTTP/2, SSL). Click Additional certificates, and select your Google-managed certificate from the drop-down list. Click Create.


1 Answers

This happened to me, good to know I'm not alone!

Plain and simple answer: Godaddy will give you a certificate file and a bundle file. They all come already on PEM format (as long as it says BEGIN CERTIFICATE you know it's PEM).

Copy and paste the contents of the #####.crt file on the "Public key certificate" field, it should display the correct information on the right side of the field.

Copy and paste the contents of the certificate bundle on the "Certificate chain". This file usually has 3 certificates on it.

Finally, copy and paste the contents of your private key on the last field.

Double check that your certificate is working correctly on both desktop and mobile. If it works on desktop but not mobile try again, it means you made a mistake filling the "Certificate chain" field.

Hope this helps!

like image 110
Juan Pablo Rodriguez Avatar answered Sep 21 '22 11:09

Juan Pablo Rodriguez