How to Install an SSL Certificate and Keep It Renewing
You installed an SSL certificate last night, and this morning Chrome still says Not secure on your shop's website. The cause is usually one of four problems, and each has a short fix. Below are those fixes. After them comes the part people skip: renewal that runs on its own, with an alert that reaches you before a visitor ever sees a warning.
Renewal matters more than it used to. Under the CA/Browser Forum Baseline Requirements, the industry rules for public certificates, new public certificates run 200 days or less, and the limit keeps dropping on a published schedule. Let's Encrypt ended its expiry reminder emails on June 4, 2025, and it recommends a third-party monitoring service instead. Nobody will tap you on the shoulder before a certificate expires, so you need something that will.
Why does Chrome still say Not secure after I installed SSL?
Usually one of the four things below is wrong. The last two are worse. Instead of a label, Chrome shows the full-page "Your connection is not private" warning before the site opens.
- No redirect: the certificate works, but nothing sends visitors from http:// to https://.
- Mixed content: the page loads over HTTPS, but some of its files don't. Browsers switch some of those requests to HTTPS and block others, so images, scripts or styles can go missing.
- Missing name: the certificate covers yourdomain.com but not www.yourdomain.com, or the other way around.
- Expired certificate: renewal failed and nobody noticed.
Each one has a fix below.
What do you need before you start?
Your domain must already point to your host or server, so the site loads over http://. You need a login to your hosting control panel, or SSH access with sudo on a VPS. You also need access to your domain's DNS settings.
If your domain doesn't point to your hosting yet, connect it first, and check that your email records stay in place. On a brand-new VPS, set up SSH and sudo access before you continue.
On a VPS, port 80 must be open to the internet. Certbot's instructions say the HTTP site must be reachable on port 80.
Do you need a free or a paid certificate?
For a typical small-business site, a free certificate is enough. The encryption is the same as with a paid one.
Certificates come in a few types. DV (domain validated) proves you control the domain. OV (organization validated) and EV (extended validation) also include company details the issuer has checked. The Baseline Requirements say all of these types provide the same level of assurance about the site itself. Buy OV or EV only if a contract, a payment partner or an industry rule asks for verified company details. Don't buy one hoping for "more encryption," because you won't get it.
How do you install it from a hosting control panel?
Turn on the free certificate in your panel's SSL/TLS or Security area. Include both your domain and its www version, then wait until the panel shows the certificate as issued and active.
Panels name these menus differently, so look for the action rather than an exact label. Once the certificate is active, go on to the redirect and mixed-content steps. The certificate alone won't remove the warning.
How do you install it on a VPS over SSH?
Use Certbot, a free tool that gets a Let's Encrypt certificate and can set up HTTPS in Nginx or Apache with one command.
- Connect over SSH as a user with sudo.
- Install snapd if your system doesn't have it. Remove any Certbot that came from apt, dnf or yum.
- Run the commands below on the server (Ubuntu, Debian or AlmaLinux).
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/local/bin/certbot
sudo certbot --nginx # or: sudo certbot --apacheMake sure the certificate covers both yourdomain.com and www.yourdomain.com. Pick both when Certbot lists the names, or name them yourself with sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com. If you'd rather edit the server config by hand, use sudo certbot certonly --nginx. It only gets the certificate and leaves the config alone, as Certbot's Nginx instructions explain.
How does a paid certificate get issued and installed?
You create a certificate signing request (CSR), send it to the seller, prove you control the domain, and install the files the seller sends back.
- Create the CSR in your control panel or on the server. This also creates your private key. Keep the key on the server and never send it anywhere.
- Paste the CSR into the seller's order form. Then prove you control the domain with one of the methods the seller offers, such as a file on the site, a DNS record or an email. For OV and EV, also answer the company checks.
- Download the certificate files, which may include an intermediate (chain) certificate. Install the certificate together with the chain file, then reload the web server.
Sectigo's installation guide, written by a certificate seller, describes the same flow and ends with monitoring and renewing before expiry.
How do you send every page to HTTPS?
Set a permanent (301) redirect on the server from http:// to https:// for every page, covering both the www and non-www versions.
For a move from HTTP to HTTPS, Google's site-move guide says to redirect from the old URLs to the new ones at the server. On WordPress, also change the WordPress Address and Site Address settings to https://.
How do you fix mixed content?
Load everything over HTTPS. Change links to your own files to https:// or relative links, switch outside resources to their HTTPS versions, then click through the site with the browser's developer console open.
Hard-coded http:// image links tend to hide in old blog posts, theme settings and page-builder blocks, so check those first. Then follow the checklist in MDN's mixed content guide.
How do you check that it worked?
Run the command set below once from any Mac or Linux terminal, or from Git Bash or WSL on Windows. Replace yourdomain.com with your domain.
DOMAIN=yourdomain.com
for host in "$DOMAIN" "www.$DOMAIN"; do
echo "== $host"
curl -sI "http://$host" | grep -iE '^(HTTP/|location:)'
echo | openssl s_client -connect "$host:443" -servername "$host" 2>/dev/null \
| openssl x509 -noout -subject -issuer -dates
doneA good result looks like this:
- Each
curlpart shows a 301 response and aLocation:line that starts with https://. - Each
opensslblock shows the issuer and anotAfterdate in the future.
In Chrome, click the icon to the left of the address and open the connection details to see the certificate. This is a one-time check. Don't schedule it on your laptop, because a laptop sleeps.
Who renews the certificate, and how will you know if it fails?
On hosting, your panel's automatic renewal does it. On a VPS, Certbot's timer on the server does it. Either way, an outside monitor should email you or post to your team chat if renewal slips.
- On hosting: confirm in the panel that the certificate is set to renew automatically.
- On a VPS: run
sudo certbot renew --dry-run, thensystemctl list-timersto see the renewal timer Certbot installed. It runs on the server, which stays on. - An alert that reaches a person: sign up for an outside certificate monitor, as Let's Encrypt recommends. Send its alerts to an inbox or chat channel someone actually reads, then trigger a test alert once to make sure it arrives.
Put a reminder on a shared calendar to repeat the dry run and the test alert every few months. Shorter certificate lifetimes mean renewals come around more often.
What usually breaks months later?
Most surprises come from changes you made for some other reason, long after the install went fine.
- A new firewall rule closed port 80. Certbot needs that port to renew. Run the dry run again after any firewall change.
- DNS moved to a new provider. Run the dry run after any DNS change, and keep the outside monitor on.
- A paid certificate nobody remembered. Put its renewal date on a shared calendar and add the certificate to the monitor too.
How does this work at PomeloHost?
PomeloHost web hosting includes free SSL and one control panel for sites, email and domains, so the control-panel steps above apply.
A VPS gives you full root access on Ubuntu, Debian, AlmaLinux or any system from your own ISO. A VPS is self-managed unless you add the managed option, so the SSH steps, the renewal check and the monitor are yours to set up.
Before you close this tab, do the step that's easiest to put off: set up the outside monitor and send yourself a test alert. The redirect, the old http:// links and the check above are fixes you make once.
Frequently asked questions
Does a paid certificate encrypt my site better than a free one?
No. The encryption is the same. The industry's Baseline Requirements say DV, OV and EV certificates all give the same level of assurance about the site itself. OV and EV only add company details the issuer has checked. Pay for them when a contract, payment partner or industry rule requires those details.
Will Let's Encrypt email me before my certificate expires?
No. Let's Encrypt ended its expiry notification emails on June 4, 2025, and recommends a third-party monitoring service instead. Sign up for an outside monitor that checks your certificate's expiry date. Send its alerts to an inbox or team chat someone reads, and test the alert once.
I added the www version of my site later. Do I need a new certificate?
Yes, if your current certificate doesn't list the www name. Reissue it with both yourdomain.com and www.yourdomain.com. On a VPS, run the Certbot command again with both names, for example sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com. In a control panel, turn on the certificate for both. Then run the openssl check against each name.
Can I schedule the expiry check on my laptop instead of paying for a monitor?
I wouldn't. A laptop sleeps, travels and gets replaced, so a scheduled check can stop without anyone noticing. Keep scheduled renewal on the always-on server and use an outside monitor that emails or messages a person. Run the command set from your laptop only for one-time checks.