ssl-guides 2026-12-02 ⏱ 4 min read

How to Install Free SSL on Cloud Hosting

How to Install Free SSL on Cloud Hosting

Free SSL on cloud hosting depends on which model you are on. Managed platforms issue a certificate the moment you attach a domain, cloud load balancers want a certificate from their own service, a Cloudflare proxy has its own edge certificate, and a plain VM is just a server you run Certbot on. Picking the wrong path creates work that does nothing.

Free SSL on managed cloud hosting platforms

Platforms like Vercel, Netlify, Render, Railway, Fly.io, Heroku and Cloudflare Pages issue and renew free certificates automatically the moment you attach a custom domain. There is nothing to install: add the domain, create the DNS records they show you, and HTTPS appears within minutes. If yours needs a nudge, see configuring free SSL on Railway, Render and Fly.io.

AWS and GCP load balancers: use the platform CA

If your traffic terminates at an AWS load balancer, CloudFront distribution or API Gateway, request a free certificate from AWS Certificate Manager. It renews automatically and attaches directly to the resource. The catch: the private key never leaves AWS, so ACM certificates cannot be installed on your own web server. The full flow is in installing free SSL on EC2, Lightsail and CloudFront. Google Cloud has an equivalent managed certificate feature for its load balancers, with the same tradeoff.

Behind Cloudflare: Universal SSL

When your domain is proxied through Cloudflare, the edge certificate is free and automatic. The important part is the origin: set the SSL mode to Full (Strict) and install a certificate on your server, either a Cloudflare Origin CA certificate or a Let's Encrypt certificate. Flexible mode encrypts only half the connection and should never be used in production. The setup is covered in the Cloudflare free SSL setup guide.

Free SSL for cloud hosting on plain VMs: certbot

An EC2 instance, Lightsail VPS, Compute Engine VM or Azure VM without a load balancer is just a server. Install certbot and issue a Let's Encrypt certificate:

sudo apt update
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d example.com -d www.example.com
sudo certbot renew --dry-run

Remember the cloud-layer firewall: security groups and network firewalls must allow ports 80 and 443. A blocked port 80 is the most common reason issuance fails on cloud VMs, and it fails with a confusing timeout rather than a clear firewall message.

Which path is yours?

SetupFree SSL source
Vercel, Netlify, Render, etc.Automatic platform SSL
AWS ALB / CloudFrontAWS Certificate Manager
Cloudflare proxyUniversal SSL plus origin cert
Raw VM (EC2, Lightsail, etc.)Let's Encrypt via certbot

After installation

Verify the padlock from an external network, redirect HTTP to HTTPS, and confirm renewal is automatic in whichever system owns the certificate. Managed platforms, ACM and certbot all renew without your involvement; only manually uploaded certificates need calendar reminders. Whichever model you are on, run an external SSL check once at the end so you know the chain and expiry date are healthy before you call it done.

Kubernetes and container platforms

On Kubernetes, the standard answer is cert-manager, which automates Let's Encrypt issuance and renewal for ingress resources. The pattern is the same idea as certbot, moved into the cluster: an annotation on the ingress triggers issuance, and a controller keeps certificates renewed. If your cloud hosting is really a managed Kubernetes service, that is the path to look at rather than anything in this guide.

Mixing models on one domain

Real architectures combine these models: Cloudflare in front, an ACM certificate on the load balancer, certbot on a backend VM. That is fine as long as every hop is encrypted and each certificate has an owner with automatic renewal. Draw the chain of hops once, label which system manages each certificate, and you will never again debug an expiry by guessing which layer lapsed.

Related reading: free SSL on IIS and free SSL without buying hosting.

Frequently Asked Questions

Can I use an AWS Certificate Manager certificate on my own server?

No. The private key never leaves AWS, so ACM certificates can only be attached to AWS resources such as a load balancer or CloudFront.

Does a cloud load balancer need a certificate on the VM too?

If the load balancer terminates TLS and talks to the VM in plain HTTP, no. If it re-encrypts, the VM needs its own certificate.

Why does certbot fail on a cloud VM?

Usually a security group or network firewall blocking port 80, or a DNS record pointing elsewhere. Both fail as a timeout rather than a clear message.

Is Cloudflare Universal SSL enough on its own?

It covers the visitor to Cloudflare hop. The hop from Cloudflare to your origin needs its own certificate and Full (strict) mode.

What renews the certificate on each model?

Managed platforms, ACM and certbot all renew on their own. Only certificates you upload by hand need a reminder.

🔒 Test Your Website SSL Certificate Now
Run Free SSL Check →

✅ 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 www versions resolve cleanly to one canonical HTTPS URL.
  • Verify your HTTPS property and sitemap.xml inside Google Search Console and Bing Webmaster Tools.
Technically Reviewed by TryFreeSSL Security Team
Last updated: 2026-12-05
About Us →

Free SSL Certificates, Live SSL Checker & CSR Generator

Issue trusted Let's Encrypt SSL certificates in 60 seconds with zero server setup.

Related Articles

🤖 TryFreeSSL AI Assistant