I am new to Google Cloud Platform.
I bought a wildcard SSL and would like to know how to install Wildcard SSL into a Google Cloud Compute instance?
I used Cloud Shell to generate a CSR on Google Cloud Platform by using the following line of command,
openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr
I managed to activate my certification and received the ca-bundle
files.
But I don't know what's the next step to install the SSL. I can't find anything about SSL in the Google Compute Engine tab.
How to install a SSL certificate on Google Cloud Platform
As the website above show, I must activate my SSL via App Engine but I have doubt on it.
Go to the Certificates tab in the Google Cloud console. Click Create SSL certificate. Enter a name and an optional description for the certificate. Select Create Google-managed certificate.
You can configure up to the maximum number of SSL certificates per target HTTPS or target SSL proxy. Use multiple SSL certificates when you are serving from multiple domains using the same load balancer IP address and port, and you want to use a different SSL certificate for each domain.
There are different scenarios where SSL certificates can be used in GCP. The steps of the document you have linked applies for GAE but not for GCE.
If you have GCE instances running behind a load balancer, the certificate must be uploaded there. You can find the details on this article.
If you are not using a GCE LB and instead your instances are serving traffic directly, you must configure the certificate on the server. I.e. for NGINX you can follow these instructions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With