To get an SSL certificate, first check whether your hosting provider offers free one-click HTTPS — most do, and that is the fastest route. Otherwise, get a free certificate from Let's Encrypt using Certbot: point your domain's DNS at your server, run sudo certbot --nginx or --apache for your domain, verify HTTPS works, and let Certbot handle renewal of the 90-day certificate. Businesses needing organization validation buy a paid certificate from a commercial authority instead.
Key takeaways
- Check your hosting panel first — most hosts now include a free Let's Encrypt certificate with one click.
- On your own server, Certbot obtains, installs and renews a free Let's Encrypt certificate in a few commands.
- Let's Encrypt certificates last 90 days, so automatic renewal is essential — test it with certbot renew --dry-run.
Every modern website needs an SSL certificate — the thing that turns http:// into https:// and puts a padlock in the browser. Without one, browsers warn visitors away and search engines rank you lower. The good news: getting one is free, fast and mostly automatic in 2026.
What is an SSL certificate?
An SSL certificate — more precisely, a TLS certificate — is a digital credential that proves a website is who it claims to be and encrypts the connection between the visitor's browser and the server. It is issued by a certificate authority (CA), a trusted organization that verifies you control the domain.
When a visitor opens your site, their browser checks the certificate: is it issued by a trusted CA, does it match the domain name, and has it expired? If all three pass, the browser sets up an encrypted connection. Nobody on the network — not a Wi-Fi hotspot, not an internet provider — can read or modify the traffic.
Certificates come in three validation levels. DV (domain validated) proves only that you control the domain and is issued in minutes. OV (organization validated) also verifies the business behind the site. EV (extended validation) involves the strictest business checks. All three encrypt traffic the same way; the difference is how much identity the certificate vouches for.
Which type of SSL certificate do you need?
Most small websites need only a free DV certificate. The type matters only when your business or compliance situation demands more identity proof.
| Certificate | What it proves | Issued in | Cost | Best for |
|---|---|---|---|---|
| DV (domain validated) | You control the domain | Minutes | Free (Let's Encrypt) | Blogs, small business sites, personal sites |
| OV (organization validated) | Domain + business identity | Days | Paid | Companies wanting visible business identity |
| EV (extended validation) | Domain + strict business checks | Days to weeks | Paid | Banks, finance, high-trust e-commerce |
| Wildcard | Domain + all subdomains | Minutes (DV) | Free or paid | Sites with many subdomains |
| Multi-domain (SAN) | Several domains at once | Minutes (DV) | Free or paid | One certificate for several sites |
A wildcard certificate covers *.example.com — every subdomain, including ones you create later. It requires DNS validation, which proves control by adding a TXT record to your DNS. A single-domain or multi-domain certificate can use the simpler HTTP validation instead.
What do you need before you start?
Getting a certificate takes minutes if you have three things ready: a registered domain name, a server or hosting account, and access to your DNS settings.
- A registered domain name. Let's Encrypt only issues certificates for public domains, not for IP addresses or local names. If you do not have one yet, register it first — the certificate comes after.
- DNS pointing at your server. Your domain's DNS records must resolve to the server that will serve the site. Validation will fail if the CA cannot reach your server at your domain.
- Ports 80 and 443 open. The validation server needs to reach your site on port 80, and visitors need port 443 for HTTPS. If a firewall blocks them, issuance fails.
How to get an SSL certificate from your hosting provider
For most people, this is the whole answer. The majority of shared hosting, managed WordPress and website-builder plans now include a free Let's Encrypt certificate that you enable with a few clicks — no commands, no configuration.
- Open your hosting control panel (cPanel, Plesk, or your provider's own dashboard) and select your domain.
- Find the SSL/TLS or Security section. Look for "Let's Encrypt", "Free SSL" or "SSL Certificates".
- Enable or issue the certificate for your domain, including the
wwwsubdomain if offered. - Turn on automatic renewal if it is a separate option — it usually is, and it is the setting that prevents expiry warnings later.
- Check the site over HTTPS, then enable the "force HTTPS" or "redirect to HTTPS" option so all visitors use the secure version.
If your host does not offer free certificates, ask their support about HTTPS options for your plan before doing anything else. Switching to a host that includes free SSL is often cheaper and easier than buying a certificate separately.
If you use a CDN such as Cloudflare in front of your site, it can also provide HTTPS to visitors — Let's Encrypt's own guidance for first-time certificate holders covers this case too — though you should still secure the connection between the CDN and your origin server.
How to get a free SSL certificate with Let's Encrypt and Certbot
If you run your own Linux server — a VPS, a dedicated server or a cloud instance — Certbot is the standard tool. It is a free, open-source ACME client from the Electronic Frontier Foundation that proves you control a domain, fetches a certificate from Let's Encrypt, installs it and renews it automatically.
Let's Encrypt uses the ACME protocol. An ACME client such as Certbot talks to the certificate authority and completes a challenge to prove control over the requested domain — usually by serving a file at a special URL (HTTP-01) or by adding a DNS TXT record (DNS-01, required for wildcards).
Step 1: Install Certbot
Installation depends on your operating system. On recent Ubuntu or Debian systems, the EFF recommends the snap package, which keeps Certbot up to date and sets up automatic renewal:
sudo apt update && sudo apt install snapd -y
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
Then install the plugin for your web server — sudo snap install certbot-nginx for NGINX or certbot-apache for Apache. On other systems, the Certbot instructions page at certbot.eff.org gives the exact commands for your operating system and web server combination.
Step 2: Request and install the certificate
For NGINX, one command does everything — validation, issuance, configuration and the HTTP-to-HTTPS redirect:
sudo certbot --nginx -d example.com -d www.example.com
For Apache, the equivalent is sudo certbot --apache -d example.com -d www.example.com. Certbot asks for an email address for renewal reminders, asks you to agree to Let's Encrypt's terms of service, then does the rest and prints a success message including the expiry date.
If you do not want Certbot to edit your web server configuration, use certonly instead and configure the server yourself. The certificate files are saved to /etc/letsencrypt/live/example.com/ as fullchain.pem and privkey.pem. Other useful modes: --webroot, which places the challenge file in an existing web root without stopping the server, and --standalone, which starts a temporary web server on port 80 for validation.
Step 3: Verify HTTPS works
Open https://yourdomain.com in a browser and look for the padlock. Then check the details properly: run our free SSL checker against your domain to see the certificate's issuer, expiry date and chain, and confirm the redirect from HTTP to HTTPS works. Also check that mixed content is gone — if the page loads images or scripts over plain HTTP, browsers will warn about it even with a valid certificate.
Step 4: Automate renewal
Let's Encrypt certificates last 90 days, so automatic renewal is not optional — it is the whole point. Certbot installs a systemd timer that runs certbot renew twice a day and renews any certificate due to expire within 30 days. Verify it works:
sudo certbot renew --dry-run
sudo systemctl list-timers | grep certbot
If the dry run succeeds, renewal is set up. You can also list installed certificates at any time with sudo certbot certificates. Keep an eye on expiry anyway: Let's Encrypt plans to shorten the default lifetime to 64 days on 10 February 2027, then to 45 days on 16 February 2028, which makes working automation even more important.
How to buy a paid SSL certificate
Buy a paid certificate when you need organization validation, extended validation, a warranty, or support from the certificate authority. The process is similar, with one extra stage: proving who you are.
- Choose a certificate authority such as DigiCert, Sectigo or GlobalSign, and pick the validation level you need.
- Generate a private key and a certificate signing request (CSR) on your server, or let the CA's tooling do it. The CSR contains your domain and organization details.
- Submit the CSR and complete validation. For DV, that is the same domain-control check as Let's Encrypt. For OV and EV, the CA verifies your business registration, address and phone number, which takes days.
- Install the issued certificate and its intermediate chain on your web server, and set up renewal reminders — paid certificates typically last a year, and the CA will email you before expiry.
Paid certificates encrypt traffic exactly like free ones. You are paying for the identity checks, the warranty and the support, not for stronger encryption. For most small sites, that is money better spent elsewhere.
Common mistakes when getting an SSL certificate
Most SSL failures are not about the certificate itself — they are about the setup around it. These are the ones that come up again and again:
- Forgetting to open port 80. HTTP-01 validation needs port 80 reachable from the internet. A firewall rule or a geo-block is the most common reason Certbot fails.
- DNS not pointing at the server yet. If the domain still resolves to the old host or to nothing, validation cannot succeed. Check with
digor our free DNS lookup before running Certbot. - Missing the www subdomain. Request the certificate for both
example.comandwww.example.com, or visitors to the version you forgot will get a certificate error. - Not testing renewal. A certificate that worked on day one and expired on day 90 is the classic failure. Run
certbot renew --dry-runand check the timer exists. - Redirecting to HTTPS before verifying it works. If HTTPS is broken and you force the redirect, your site becomes unreachable instead of merely insecure. Verify first, redirect second.
- Ignoring mixed content. A page served over HTTPS that loads an image over HTTP triggers browser warnings. Update hardcoded
http://links in your content and templates. - Letting the private key leak. The private key in
/etc/letsencrypt/live/must stay private and readable only by root. Never commit it to a repository or email it.
After installation: keeping HTTPS healthy
Getting the certificate is the start, not the end. Three habits keep HTTPS working:
- Monitor expiry. Set a calendar reminder a month before expiry as a backup to automatic renewal, and use a monitoring tool that alerts you when a certificate is about to expire. Cysoro's certificate monitoring does exactly this.
- Use HSTS. HTTP Strict Transport Security tells browsers to always use HTTPS for your domain, which stops downgrade attacks. Enable it only after you are confident HTTPS works everywhere, and start with a short max-age.
- Keep TLS up to date. Disable old protocol versions (TLS 1.0 and 1.1) and weak ciphers in your web server configuration, and check the result with our free security headers checker.
For a broader look at website security, our guide to securing your Wi-Fi covers the network side.
The small business cybersecurity checklist covers the rest, from backups to device security.
The bottom line
For most websites, getting an SSL certificate means two steps: check whether your host offers one-click HTTPS, and if not, run Certbot. A free Let's Encrypt certificate encrypts traffic just as well as a paid one, and automatic renewal means you can set it up once and forget it — as long as you test the renewal.
Once your certificate is live, verify it with our free SSL checker and set up expiry monitoring so a lapsed certificate never surprises you.
Frequently asked questions
How do I get an SSL certificate for free?
Use Let's Encrypt. If your hosting provider offers it, enable it in your hosting panel with one click. On your own Linux server, install Certbot and run sudo certbot --nginx or --apache with your domain name. The certificate is free and trusted by all major browsers.
How long does it take to get an SSL certificate?
Minutes with a hosting panel's one-click option, and usually under an hour on your own server with Certbot. Paid organization-validated and extended-validation certificates take longer, because the certificate authority must verify your business details.
What is the difference between DV, OV and EV certificates?
DV (domain validated) certificates only prove you control the domain and are issued in minutes. OV (organization validated) certificates also verify the business behind the site. EV (extended validation) certificates involve the strictest business checks. All three encrypt traffic the same way.
Do I need an SSL certificate for a small website?
Yes. Browsers mark sites without HTTPS as Not Secure, search engines rank HTTPS sites higher, and visitors trust the padlock. There is no good reason to run a public site on plain HTTP in 2026, especially when certificates are free.
Can I get an SSL certificate for a subdomain or wildcard?
Yes. You can include subdomains such as www.example.com in the same certificate, and you can get a wildcard certificate covering *.example.com. Wildcards require DNS validation, proving control by adding a TXT record to your DNS, rather than HTTP validation.
How long do Let's Encrypt certificates last?
90 days by default. That is deliberate: short lifetimes limit the damage if a certificate is compromised. Automatic renewal is essential. Let's Encrypt plans to shorten the default lifetime to 64 days on 10 February 2027, then to 45 days on 16 February 2028, which makes automation even more important.
What happens if my SSL certificate expires?
Visitors see a full-page security warning and most will leave. Renewal is automatic if you set it up, but you should still monitor expiry — our free SSL checker shows a certificate's expiry date so you can catch problems before visitors do.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the EFF's Certbot documentation, Let's Encrypt's own guidance for first-time certificate holders, and step-by-step Certbot guides.
How we write and fact-check →