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

How to Get a Free SSL Certificate

How to Get a Free SSL Certificate

Getting a free SSL certificate is easy once you know which route matches your hosting. Start with the question: who controls the web server? Answer that and the right option is usually obvious.

Free SSL certificate for your website: pick your route

Your setupBest routeEffort
Shared hosting with a control panelBuilt-in SSL toggleLowest
Your own VPS or serverACME client such as CertbotLow
Site behind a CDNCDN certificateLowest
Need a downloadable fileCA dashboard or generatorMedium

Free SSL certificate for your website: your host's toggle

Most hosts now include free certificates. Look for "SSL/TLS", "Let's Encrypt" or "AutoSSL" in cPanel, DirectAdmin, Plesk or the host's own dashboard. Turn it on for your domain and wait for issuance. Guides for specific panels: DirectAdmin and aaPanel. If a host refuses custom certificates, read which free hosts block custom SSL.

Option 2: Certbot on your own server

Before you start, point your domain's A record at the server and open ports 80 and 443. Then:

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

The first line installs the tools for Nginx. Swap the plugin for python3-certbot-apache on Apache. The second line gets and installs the certificate. The third tests that automatic renewal works. Package names vary by distribution, so check the Certbot instructions for yours.

Option 3: a CDN certificate

If you proxy your domain through Cloudflare, it issues an edge certificate for you. Follow the Cloudflare setup guide. Remember that this secures the visitor-to-Cloudflare leg. Your origin still needs encryption, so choose the Full (strict) mode as explained in Flexible vs Full vs Full strict.

Option 4: a CA dashboard

Some CAs let you request a certificate in a web form and download the files. You prove domain control with a DNS record or file upload, then copy the certificate and key to your server. It is handy for servers that cannot run an ACME client, but you must renew by hand or switch to automation later. See creating and downloading a certificate.

Domain validation methods

  • HTTP file: place a token at a known path on port 80. Easy, but it cannot issue wildcards.
  • DNS record: add a TXT record. Works behind firewalls and for wildcards.
  • Email: reply to a mail at an admin address. Less common now.

Wait for DNS changes to spread before you retry. DNS propagation and SSL failures explains the delays.

After you get it

  1. Force HTTPS with a 301 redirect from HTTP.
  2. Update hard-coded http:// links and fix mixed content.
  3. Test with an online checker or openssl.
  4. Set a monitor so you notice a failed renewal, and start the renewal when a third of the lifetime is left.

Things to avoid

Do not use a self-signed certificate for a public site. Visitors will see a warning. Do not buy a certificate from a reseller just because a page says free is risky. Free from a reputable CA is the normal case. If you want to know how long it will last, read the automation guide.

Related reading: getting a free certificate with Certbot, free SSL on InfinityFree, migrating from HTTP to HTTPS and renewing a certificate in cPanel.

Frequently Asked Questions

How long does it take?

With a host toggle or Certbot, issuance usually takes a few minutes once DNS points at the right place. Wildcards and DNS validation can take longer if DNS changes are slow.

What if issuance fails?

Read the error. The usual causes are a domain that does not resolve to your server, port 80 blocked by a firewall or a redirect that hides the validation file. Fix the cause, then retry once instead of repeating the request, since CAs apply rate limits.

Do I need a dedicated IP?

Not for modern browsers. SNI lets many certificates share one IP. Ask your host if their plan says otherwise.

Can I get one for a subdomain?

Yes. List it in the request or use a wildcard. See best free SSL for subdomains for the tradeoffs.

Is a free SSL certificate really free?

Yes. Let's Encrypt and similar CAs charge nothing and the certificate is trusted by every major browser. What you pay in is the automation, or the time to renew by hand.

How long does a free certificate last?

90 days today, 64 from 10 February 2027 and 45 from 16 February 2028, so renewal has to be automatic.

Can I get a free certificate for a domain I do not host?

Only if you can answer the validation challenge, which means DNS access or a server that answers on the domain. A certificate without that proves nothing.

🔒 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