How to Get Free SSL on Google Cloud
Free SSL on Google Cloud depends on which product serves your site. Load balancers use Google-managed certificates, App Engine and Cloud Run issue their own, and a plain Compute Engine VM is just a server you run Certbot on. The failure modes differ too: DNS for the managed routes, a firewall rule for the VM.
Free SSL on Google Cloud load balancers
Google Cloud's external HTTPS load balancers support Google-managed SSL certificates. You create the certificate resource, attach it to the load balancer's target proxy, and Google provisions and renews it. The catch: provisioning only succeeds after the domain's DNS points at the load balancer's IP, and it can take a while after that. Until provisioning completes, the certificate shows a pending status and the site serves no HTTPS on that frontend.
App Engine and Cloud Run: automatic
App Engine issues managed certificates automatically for custom domains you map, and renews them without intervention. Cloud Run does the same for custom domain mappings. For both, the work is adding the domain and creating the DNS records Google shows you; certificates follow on their own.
Free SSL on a Google Cloud VM: Certbot
On a plain VM running nginx or Apache, with no load balancer in front, use Certbot as on any VPS:
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
Open ports 80 and 443 in the VPC firewall rules first; a missing firewall rule is the usual reason validation fails on Compute Engine. The full Certbot flow is in getting a free certificate with Certbot, and manual virtual host examples are in installing free SSL on an nginx or Apache VPS.
Which route fits
| Setup | Free SSL route |
|---|---|
| HTTPS load balancer | Google-managed certificate |
| App Engine or Cloud Run | Automatic managed certificate |
| Single Compute Engine VM | Certbot on the VM |
After the certificate is live
Redirect HTTP to HTTPS. On a load balancer, that is a URL map rule; on a VM, a server block. Then check pages for mixed content, since old HTTP asset URLs break the padlock even with a perfect certificate: fixing mixed content warnings covers the cleanup. Google-managed certificates come from Google's own certificate authority; the comparison in Google Trust Services vs Let's Encrypt explains what differs and what does not. Confirm the live certificate and expiry any time with our free SSL certificate checker, and keep an eye on renewals with the free SSL expiration checker if you manage Certbot yourself.
Why the managed certificate stays pending
Google-managed certificates only provision once the domain's DNS points at the load balancer's IP, and the process can take anywhere from minutes to a few hours. During that window the certificate shows as provisioning and HTTPS on that frontend does not work. If it has been stuck for a day, check three things: the DNS record points at the right IP, the load balancer has a frontend on port 443, and the domain in the certificate matches exactly what DNS serves.
What the certificate covers
A Google-managed certificate covers the exact domain names you list, and the www and apex names are separate entries unless you add both. It does not cover subdomains unless you add them individually or use a wildcard, which managed certificates do not support. If you need a wildcard, Let's Encrypt with DNS validation on a VM is the usual answer.
Cost and maintenance
Managed certificates cost nothing and renew without action, which is their main advantage over running Certbot yourself. The tradeoff is control: you cannot choose the issuer or the key type, and you cannot export the certificate. For most sites that is a good deal. Confirm what your server actually serves with our free SSL certificate checker, and if you run Certbot on a VM, keep the timer in mind with the free SSL expiration checker.
Related reading: free SSL on Azure and free SSL on Cloudways.
Frequently Asked Questions
Can I export a Google-managed certificate?
No. The key stays with Google, so you cannot install the certificate anywhere else. If you need the files, run Certbot on a VM instead.
Why does the managed certificate stay pending?
Provisioning only starts once DNS points at the load balancer's IP, and it takes time after that. A day of pending usually means the record is wrong or the frontend has no port 443.
Does a managed certificate cover a wildcard?
No. List each name you need, including the www form, or run Let's Encrypt with DNS validation on a VM.
Is there a cost for the certificate?
Managed certificates are free. You pay for the load balancer and the traffic, which is a separate bill.
What renews it?
Google renews managed certificates itself. Certbot on a VM renews through its own timer, so check that the timer survived any image rebuild.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.