🔒 Free SSL Certificate

A free SSL certificate encrypts your website, shows the padlock in browsers, and helps your rankings. This guide shows you exactly how to get one — with Let's Encrypt, Cloudflare, or ZeroSSL — and keep it renewed.

What is SSL/TLS and why does it matter?

SSL — now properly called TLS — is the encryption layer that turns http:// into https://. When a visitor opens your site over HTTPS, everything sent between their browser and your server is encrypted: passwords, form entries, and page content cannot be read or tampered with on the way. Without it, anyone on the same network can see or alter what passes between your site and its visitors.

An SSL certificate is the document that proves your server really is who it claims to be. A certificate authority checks that you control the domain, then signs your certificate. The browser trusts that signature and shows the padlock icon. Since 2018, Chrome marks every plain-HTTP page as "Not Secure", and Google has confirmed HTTPS is a ranking signal — so a certificate is no longer optional for any serious site.

The good news: a certificate no longer costs anything. Free certificate authorities such as Let's Encrypt issue domain-validated certificates that use exactly the same encryption as paid ones. Paid certificates only add extras — organisation validation, a warranty, or a longer validity period — none of which change the encryption itself. For most sites, free is the right choice.

Option 1: Let's Encrypt with Certbot (best for your own server)

Let's Encrypt is a free, non-profit certificate authority trusted by every major browser. Certbot is its official tool: it proves you own the domain, installs the certificate, and sets up automatic renewal. If you run a Linux server with Apache or Nginx, this is the standard way to get HTTPS.

STEP 1

Install Certbot

On Ubuntu or Debian, run sudo apt install certbot python3-certbot-nginx (use the Apache plugin instead if you run Apache).

STEP 2

Request the certificate

Run sudo certbot --nginx -d example.com -d www.example.com. Certbot proves you control the domain and configures your server automatically.

STEP 3

Test renewal

Run sudo certbot renew --dry-run. If the test passes, renewal is automatic — Certbot installs a timer that renews the certificate before it expires.

Many hosts make this even easier: cPanel, Plesk, and managed hosts such as SiteGround or DreamHost offer one-click Let's Encrypt in their control panel, with no command line needed at all. If your host has an "SSL/TLS Status" or "Let's Encrypt" section, start there — it is the fastest route.

Option 2: Cloudflare free SSL (easiest for any site)

Cloudflare's free plan puts its global network in front of your site and issues a free shared certificate for your domain automatically. You point your domain's nameservers to Cloudflare, and visitors connect to Cloudflare over HTTPS. It also adds a free CDN and basic protection against attacks — useful even if your host already offers SSL.

Cloudflare's SSL modes matter, because they describe how much of the journey is encrypted. Flexible mode encrypts only the visitor-to-Cloudflare half; the connection from Cloudflare to your server stays plain HTTP. Full mode encrypts both halves, using any valid certificate on your server — including a free Let's Encrypt one. Full (Strict) is the same, but Cloudflare verifies that your server's certificate is genuinely valid. Use Full or Full (Strict); Flexible is only a temporary stopgap while you set up a real certificate.

ModeVisitor → CloudflareCloudflare → your serverWhen to use it
FlexibleEncryptedNot encryptedOnly as a temporary step while you install a certificate on your server.
FullEncryptedEncryptedYour server has any certificate, even self-signed. Good default.
Full (Strict)EncryptedEncrypted + verifiedBest option — your server has a valid certificate from Let's Encrypt or another trusted authority.
OffNot encryptedNot encryptedNever for a public site.

Option 3: ZeroSSL (free certificates without the command line)

ZeroSSL is another free certificate authority, and its web dashboard is the simplest route if you cannot or do not want to use the command line. Create an account, enter your domain, and prove you own it by adding a DNS record or uploading a verification file to your site. ZeroSSL then issues a 90-day certificate that you download and install in your hosting panel. It also offers a free ACME client and a simple API for automation, and — unlike Let's Encrypt's web flow — it works well for people who manage certificates manually for a small number of domains.

Renewal: the 90-day cycle

Free certificates last 90 days. That is deliberate: short lifetimes limit the damage if a certificate is ever compromised. The catch is that you must renew on time — an expired certificate makes browsers show a full-page security warning, which is worse than having no certificate at all.

The fix is automation. Certbot installs a scheduled renewal check by default; most hosting panels renew Let's Encrypt certificates automatically too. If you manage certificates by hand, set a calendar reminder for day 60 of every certificate and renew early — a certificate can be renewed any time before it expires, and renewing early costs nothing. A monthly check of your site's expiry date is a good habit: if your certificate ever has fewer than 30 days left and no renewal is scheduled, something is wrong.

Fixing mixed-content warnings

The most common problem after installing SSL is mixed content: your page loads over HTTPS, but an image, script, or stylesheet still loads over HTTP. Browsers either block that resource or show a warning, and the padlock disappears. To fix it, change every hardcoded http:// link in your pages, templates, and database to https:// — or use protocol-relative URLs that start with //, which inherit the page's protocol. Pay special attention to images embedded in old blog posts and to third-party widgets, ad scripts, and fonts.

Then force every visitor onto HTTPS with a redirect. On Apache, add this to your .htaccess file:

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

On Nginx, add a server block that returns a 301 redirect from port 80 to the HTTPS version. After the redirect is live, update your sitemap and any canonical tags to use HTTPS, and resubmit the sitemap in Search Console so Google re-crawls the secure URLs.

How to check your certificate is working

Open your site in a private browser window and look for the padlock next to the address bar. Click the padlock to see the certificate details: the domain name, who issued it, and the expiry date. Then test more thoroughly with a free checker — SSL Labs' SSL Test (ssllabs.com/ssltest) grades your setup from A+ to F and flags weak protocols, missing intermediate certificates, and renewal problems. Also try loading your site with http:// in the address bar: it should redirect straight to HTTPS. If any of these checks fail, fix them before announcing the change — a half-finished HTTPS migration hurts more than it helps.

Honest note: no website can generate a real SSL certificate in your browser. A certificate only works because a trusted authority verifies you control the domain — that check has to happen on a server, not in a web page. Any site offering an instant "generate certificate" button is either issuing a useless self-signed certificate or faking it. The methods on this page are the real ones.

About This Guide

Every website needs HTTPS today — not just shops and banks. Browsers warn visitors away from plain-HTTP pages, Google treats HTTPS as a ranking signal, and features such as service workers, geolocation, and modern payment APIs simply refuse to work without a secure connection. Yet many small sites still run without a certificate, usually because the owner assumes it costs money or requires technical skill. Neither is true any more: a free certificate takes minutes to set up, and this guide walks through the three simplest ways to get one.

Which option should you choose? If your host offers one-click Let's Encrypt in its control panel, use that — it is the fastest and most reliable route, with automatic renewal built in. If you run your own server, install Certbot and let it handle everything. If your host offers no SSL at all, put Cloudflare's free plan in front of your site and set its SSL mode to Full (Strict) with a Let's Encrypt certificate on the server. And if you manage a handful of domains by hand and prefer a dashboard to a command line, ZeroSSL is the simplest manual route. Whichever you pick, the certificate itself is identical in strength — the difference is only in how you install and renew it.

How to get a free SSL certificate in three steps

STEP 1

Pick your method

One-click Let's Encrypt in your hosting panel if available; Certbot on your own server; Cloudflare's free plan if your host offers no SSL.

STEP 2

Prove you own the domain

Your host, Certbot, or Cloudflare verifies domain control automatically — usually by placing a file on your server or a DNS record.

STEP 3

Force HTTPS and check

Redirect all HTTP traffic to HTTPS, fix any mixed content, then test with SSL Labs and confirm the padlock appears.

FAQ

Is a free SSL certificate as secure as a paid one?

Yes. A free certificate from Let's Encrypt or ZeroSSL uses the same encryption as a paid domain-validated certificate. The padlock in the browser works the same way. Paid certificates only add extras such as organisation validation, extended validation, a warranty or a longer validity period — none of which change the encryption itself.

How long does a free SSL certificate last?

Let's Encrypt and ZeroSSL certificates last 90 days. That is by design — short lifetimes limit the damage if a certificate is compromised. Set up automatic renewal with Certbot or your hosting panel so the certificate renews itself before it expires and your site never goes insecure.

Do I need a free SSL certificate if my site is already behind Cloudflare?

Cloudflare's free plan encrypts the connection between visitors and Cloudflare, but that is only half the journey. For full end-to-end encryption, install a certificate on your own server too and set Cloudflare's SSL mode to Full or Full (Strict). Flexible mode leaves the connection between Cloudflare and your server unencrypted.

Why does my site still show “Not Secure” after installing SSL?

The most common cause is mixed content: your page loads over HTTPS, but an image, script or stylesheet still loads over HTTP. Browsers then show a warning or block the insecure resource. Fix every link to use HTTPS or a relative URL, then clear your cache and reload. A second cause is that your server still serves the HTTP version — add a redirect from HTTP to HTTPS.

Can I get a free SSL certificate for a subdomain?

Yes. Let's Encrypt and ZeroSSL both issue free certificates for subdomains such as blog.example.com, and Let's Encrypt also offers free wildcard certificates that cover every subdomain of a domain at once. Your host may need to support DNS-based validation for wildcards.