Installing a Free SSL Certificate
Get the padlock on your site with a free certificate, make every page load over HTTPS, and check that it renews by itself.
// Goal http://example.com → https://example.com ✓ price: free renews: automatically warning: none
🧰 What you need first
- A domain pointing at your host
- Access to your control panel
🎯 What you'll learn
- Turn on a free SSL certificate
- Send every visitor to HTTPS
- Fix "not fully secure" warnings
🛠 Tools needed
- Your hosting control panel
- A web browser
What SSL does
An SSL certificate lets your site load over HTTPS. Everything between the visitor and your server is encrypted, and browsers show a padlock instead of a "Not secure" warning.
You don't need to pay for one. Free certificates from Let's Encrypt are trusted by every browser.
Note: Your domain must point at your hosting before a certificate can be issued. If you just changed DNS, wait until the site loads from your new host.
Turn it on
- In cPanel, open SSL/TLS Status.
- Tick your domain and the
wwwversion. - Click Run AutoSSL and wait a few minutes.
Other hosts have a Let's Encrypt or SSL button in their dashboard. It does the same job.
Force HTTPS
Having a certificate isn't enough. Visitors can still type http://. Send everyone to HTTPS:
- Many hosts have a Force HTTPS Redirect switch in the Domains tool. Turn it on.
- In WordPress, make sure both addresses under Settings → General start with
https://.
Fix mixed content
If the padlock is missing or shows a warning, some images or scripts are still loading over http://. This is called mixed content.
- Open the page, press F12 and look at the Console for "Mixed Content" lines.
- Change those links to
https://. - In WordPress, a search-and-replace tool can update old
http://links in the database. Back up first.
Check renewal
Free certificates last about 90 days and renew automatically. In SSL/TLS Status, check the expiry date. If it's getting close and hasn't renewed, run AutoSSL again or contact your host.
Common problems
AutoSSL fails for my domain
Why: Your domain doesn't point at this host yet, or a CAA DNS record blocks the certificate company.
Fix: Check your DNS points here and wait for it to spread. Remove or update any CAA record.
Padlock works on example.com but not www
Why: The certificate doesn't cover www.
Fix: Make sure www is ticked in SSL/TLS Status and has a DNS record, then run AutoSSL again.
Redirect loop after forcing HTTPS
Why: Two redirects are fighting, for example the host and a plugin, or a CDN set to Flexible SSL.
Fix: Keep only one HTTPS redirect. On Cloudflare, use Full (strict) SSL mode.
Key takeaways
Keep going
- Moving hosts? Bring your SSL along: Migrating a Site to a New Host
- Keep everything safe: Setting Up Automatic Backups
Enjoyed this guide?
Support free learning at mC0de.
