How to Install a Free SSL Certificate on Your Website
Learning how to install a free SSL certificate on your website is one of the quickest trust wins a site owner can get. A certificate turns plain HTTP into HTTPS, encrypts data between visitors and your server, and removes the scary not-secure warning that pushes people away from forms and checkouts.
Most beginners expect a long technical job, yet the common routes are now largely automatic. Many hosts install a certificate for you, WordPress plugins can handle the switch, and free tools can do the same job on a server you manage yourself.
You do not need to buy a certificate to get that padlock, and you do not need to be a developer either. Free certificates from Let’s Encrypt protect most sites, and the tools in this guide handle the hard parts for you.
The Short Answer: Pick Your Route, Then Switch to HTTPS
To install a free SSL certificate, use your host’s AutoSSL or Let’s Encrypt option if one exists, use a WordPress plugin such as Really Simple SSL if you run WordPress, or run Certbot on a server you control. After the certificate is live, force HTTPS, fix mixed content, and test renewal.
That short answer works because the certificate itself is only half the job. The other half is making sure every page, image, and script loads over HTTPS, and that the certificate renews before it expires.
Key Takeaways
Most free certificates come from Let’s Encrypt, a nonprofit certificate authority, and they are valid for 90 days.
AutoSSL in cPanel is the easiest route on shared hosting, and it usually renews certificates without you doing anything.
A WordPress plugin can force HTTPS and fix mixed content, but it cannot create a certificate on its own.
Certbot is the standard free tool for a VPS or dedicated server, and it can install and renew certificates for Apache or Nginx.
Always test HTTPS, www and non-www versions, and renewal before you consider the job finished.
What a Free SSL Certificate Does and Does Not Do
A free SSL certificate, more accurately called a TLS certificate, proves that your domain belongs to your server and encrypts the connection between the two. Visitors see a padlock, browsers stop showing a not-secure warning, and passwords and payment details travel in encrypted form.
That encryption matters for every site, not just shops. A blog with a contact form, a membership site, and a small business site all collect information that should not travel in plain text across the internet.
A free certificate gives you the same encryption as a basic paid certificate. The difference is validation level: free certificates use domain validation, which checks that you control the domain, while paid organisation and extended validation certificates also check the identity of the business behind it.
Before You Start: Three Checks That Prevent Failures
Most failed installations trace back to a skipped preparation step. A few minutes of checking saves hours of troubleshooting, especially when DNS has only just changed or the domain points to the wrong server.
Check 1: Your Domain Points to the Right Server
A certificate authority must be able to reach your server to verify that you control the domain. If your domain still points to an old host, or to a parking page, that check will fail and no certificate will be issued.
Check 2: Know Your Hosting Access
Shared hosting gives you a control panel such as cPanel or Plesk, and that panel usually has a built-in SSL tool. Managed WordPress hosting often has an SSL toggle in its own dashboard, with no panel work needed at all.
Method 1: AutoSSL in cPanel
AutoSSL is the easiest method for most shared hosting users, and it is the one to try first. It is built into cPanel, it uses Let’s Encrypt by default on many hosts, and it handles both installation and renewal.
How to Enable AutoSSL Step by Step
Log in to cPanel and open the SSL/TLS Status page, which is usually under Security. You will see a list of your domains and subdomains, each with its current certificate status.
Select the domains you want to secure, including www versions, then choose Run AutoSSL. The tool contacts the certificate authority, proves domain control, installs the certificate, and reports success for each domain.
Method 2: A WordPress Plugin
A plugin is a good choice when your host does not offer a one-click SSL option but your WordPress site already has a certificate waiting to be used, or when you need help switching existing content to HTTPS. The plugin manages the switch, not the certificate itself.
When a Plugin Helps and When It Does Not
Install a plugin such as Really Simple SSL only after a certificate is installed or available from your host. The plugin detects the certificate, changes your site address to HTTPS, and sets up a redirect from HTTP to HTTPS.
It can also fix mixed content by rewriting old HTTP links in your pages to HTTPS. That is useful on older sites where images and scripts were added with full HTTP addresses years ago.
Method 3: Certbot on Your Own Server
Certbot is the free tool from the Electronic Frontier Foundation that requests Let’s Encrypt certificates and installs them for you. It is the right choice when you manage a VPS or dedicated server and have command-line access.
Installing Certbot for Apache or Nginx
Connect to your server over SSH, then install Certbot using the method your operating system recommends. Many guides now recommend the snap package, which keeps Certbot updated, rather than an older package from the system repository.
Once installed, run Certbot with the plugin for your web server, listing each domain you want to cover. For Apache, that command asks for your domains, requests the certificate, and edits the server configuration to use HTTPS.
Testing Renewal Before It Matters
Let’s Encrypt certificates last 90 days, so renewal must work without you remembering it. Certbot installs a scheduled task that tries to renew certificates twice a day, but you should test that task before you rely on it.
Run a dry-run renewal command, which tests the process without replacing your live certificate. If the dry run succeeds, renewal is likely to work when the real date arrives. If it fails, fix the problem now, while the current certificate still has weeks left.
Free SSL Compared: Which Method Fits Your Setup
The best method is the one that matches who controls your server. A mismatch here is the most common reason people spend an afternoon on a job that should take ten minutes.
Method
Best for
Renewal
Skill needed
AutoSSL in cPanel
Shared hosting
Automatic by the host
Beginner
WordPress plugin
WordPress sites with a certificate ready
Depends on the host or tool
Beginner
Certbot on a VPS
Servers you manage yourself
Automatic with a scheduled task
Comfortable with commands
Cloudflare free plan
Sites behind a proxy
Automatic at the edge
Intermediate
Manual upload
Hosts with no automatic option
Manual, so set a reminder
Intermediate
A Cloudflare free plan deserves a mention, because it issues an edge certificate once your domain uses its nameservers. That protects visitors to Cloudflare, but you should still install a certificate on your origin server for full end-to-end encryption.
After Installation: Force HTTPS and Fix Mixed Content
Installing the certificate does not automatically move visitors to HTTPS. Without a redirect, both versions of your site stay live, search engines may index the wrong one, and visitors may still land on the insecure version.
Setting Up the HTTP to HTTPS Redirect
In cPanel, the Domains section often has a Force HTTPS Redirect toggle for each domain. Turning it on sends every HTTP request to the HTTPS version, which is the simplest reliable redirect for shared hosting.
On a server you manage, Certbot can add the redirect during setup, or you can add it to your Apache or Nginx configuration yourself. Test the redirect by visiting the HTTP address and confirming that the browser ends up on HTTPS.
The 90-Day Renewal Cycle Explained
Free Let’s Encrypt certificates last 90 days, and that short lifetime surprises people who are used to paid certificates lasting a year. The short lifetime is deliberate: it encourages automation, and it limits the damage if a certificate key is ever exposed.
SSL Installation Checklist
Use this checklist before you call the job finished, because each item catches a different failure that is easy to miss on a quick glance.
Confirm the certificate covers the bare domain, www, and every subdomain you use.
Visit the HTTPS version of your home page, a post, and a form page, and check each padlock.
Confirm the HTTP version redirects to HTTPS instead of loading the insecure page.
Check for mixed content warnings in the browser console on your most visited pages.
Confirm the expiry date and that automatic renewal is scheduled or enabled.
Run a renewal dry run if you used Certbot, and fix any error it reports.
Update your site address in WordPress and clear every cache, including any CDN cache.
Ask a friend on another network to open the site, to catch caching that hides problems from you.
If you are choosing hosting, our guide to web hosting with a free domain explains which plans bundle SSL and a domain together.
Frequently Asked Questions
Is a free SSL certificate safe to use on a real website?
Yes, a free certificate from Let’s Encrypt uses the same encryption as a basic paid domain-validated certificate. The difference is validation level, not encryption strength, so it is safe for blogs, business sites, and many shops. Paid certificates add business identity checks, warranties, and longer lifetimes, which some larger businesses prefer.
How long does it take to install a free SSL certificate?
On shared hosting with AutoSSL, it usually takes a few minutes from clicking the button to seeing the padlock. A WordPress plugin switch takes a similar time once a certificate exists. A Certbot installation on a VPS usually takes under half an hour, including testing renewal, unless DNS needs time to update first.
Why do free SSL certificates expire after 90 days?
Let’s Encrypt issues certificates for 90 days to encourage automation and to limit how long a compromised certificate stays useful. The short lifetime is not a problem when renewal is automatic, which is the case with AutoSSL, most hosts, and Certbot. It only becomes a problem when renewal is manual and nobody remembers the date.
Can I install a free SSL certificate on WordPress without cPanel?
Yes, if your host provides a free certificate through its own dashboard, you can enable it there and use a plugin to switch WordPress to HTTPS.
If you manage your own server, Certbot can install the certificate for you. The plugin alone cannot create a certificate, so one of those two routes must supply it first.
What is AutoSSL in cPanel?
AutoSSL is cPanel’s automatic certificate tool, which requests, installs, and renews free certificates for the domains on your account. On many hosts it uses Let’s Encrypt as the provider. You select the domains, run AutoSSL, and it handles the rest, including renewal before expiry.
Do I need a separate certificate for www and non-www?
You need one certificate that lists both names, which most free tools do when you request them together. A certificate for only the bare domain can trigger a warning for www visitors, and the reverse is also true. Always check both versions after installation, and request a new certificate if either name is missing.
Conclusion
Pick the method that matches your hosting, test every hostname, force HTTPS, and confirm renewal. Your visitors then get the secure site they expect.
Ayesha is the co-founder of occcy and the editor behind its entertainment and lifestyle coverage. She believes good writing should feel like a conversation with a smart friend, clear, warm, and genuinely helpful.