7 min read
How to fix a browser warning about HTTPS
A browser may show a security warning even when the site loads. The cause might be the certificate, its chain of trust, resources loaded over HTTP or the visitor’s device. Find out how to distinguish these cases and inspect the certificate the server actually presents.

How to tell a browser-specific warning from a site problem
A warning can affect only one browser or device because trusted certificate lists differ. The address may still be reachable and the server may be responding normally.
Technical guides describe two symptoms. In the first, the focus of this article, the site opens but the browser warns that the connection is not secure. In the second, the site opens over HTTP but fails to open over HTTPS. Without a certificate, Chrome and other browsers label the connection “Not secure”. Visitors may also see a full-page warning on pages that ask for a password or card details.
ERR_CERT_AUTHORITY_INVALID means the browser could not establish trust in the certificate. Often the issuing certificate authority is missing from the browser’s or operating system’s trusted list.
Trust depends on a chain. The site certificate is signed by an intermediate authority whose certificate chains back to a root already trusted by the browser or operating system. The server needs to supply the site certificate and the intermediate. Some devices cannot complete the chain if the intermediate is missing.
Compare devices first. If only some visitors have trouble, check:
- Mobile data and the office network
- Different browsers and operating systems, including Windows, macOS, Android and iOS
- Older devices and the corporate proxy
- Stale DNS caches, different IP addresses behind the load balancer and content delivery network (CDN) nodes
- The affected device’s date and time
| What the visitor sees | What to check |
|---|---|
| The browser does not trust the certificate | The intermediate certificates, the site certificate selected by the server and the device clock |
| The error appears only on a phone and in Safari | Inspect the chain for a missing intermediate between the site certificate and the root |
How to check expiry and set up automatic renewal
Start with the certificate the server presents to visitors, then check renewal.
- Check the expiry date in the browser. A new file on disk does not mean the site uses it. Click the icon to the left of the address, open the connection details and inspect the certificate. Confirm the domain name and expiry date.
- If the server uses Certbot, the free tool for obtaining and renewing certificates from the free certificate authority Let’s Encrypt, list them with sudo certbot certificates. Test renewal with sudo certbot renew --dry-run.
- Check that the site certificate, private key and necessary intermediate certificates are installed.
- On a rented virtual private server (VPS), use Certbot or a similar tool such as acme.sh to automate issuance, configure nginx or Apache and schedule renewal with cron.
- Hosting control panels usually enable automatic renewal during issuance. Check the setting. Certbot renews certificates when fewer than 30 days remain, so the scheduled task can run daily.
- Verify that the task runs, domain validation still works and the renewed certificate is installed for the correct site. Check that the server or proxy picks it up and that failure notifications reach you.
Expiry is the easiest cause to recognise. It often happens when someone sets up automatic renewal once and never checks it again.
One technical account describes a personal server where renewals worked for two years. A new service then took over port 80. Let’s Encrypt used that port to request a temporary file proving control of the domain. The new service answered instead of the web server. Three renewal cycles failed silently, and the owner learnt of the expired certificate from a visitor’s email.
Issuance through a hosting panel can take from a few seconds to 10–15 minutes while the domain is validated. Running Certbot manually on a VPS takes about as long.
What to check if the padlock is missing after installation

A fresh certificate will not correct a DNS, trust chain, virtual host or web server configuration problem. Common causes include a misconfigured server, a missing intermediate or conflicting HTTP and HTTPS settings.
The certificate was renewed but the browser shows the old one. Check the file in the certificate directory, the path in the site configuration and whether the web server reloaded its configuration.
Renewal failed. Start with the log for the ACME client, the program that requests the certificate. Inspect the cron job or systemd timer. Check that the temporary challenge file is accessible externally at the domain’s HTTP address. Open that address, confirm that the intended service answers and check permissions on the challenge directory. Other possible causes include a closed port, changed DNS records, certificate authority rate limits or a scheduler failure.
Mixed content. The HTML page loads over HTTPS, but some resources use HTTP. Find them in the Console or Network tab of the browser’s developer tools. Replace absolute http:// links with https://, update the site address in the CMS and correct old database links. Check templates, plugins and external widgets. WordPress and Bitrix, a CMS popular in Russia, can retain old HTTP links in these places even with a valid certificate. In WordPress, check WordPress Address and Site Address under Settings → General. In Bitrix, check the server address in the site settings. Both systems should use addresses beginning with https://.
Then make the site’s URLs consistent.
- Set one permanent redirect from HTTP to HTTPS and choose the preferred version of the domain.
- Update canonical URLs, the sitemap and structured data.
- Enable HSTS only once HTTPS works reliably on the main domain and the relevant subdomains. This header tells browsers to remember that the site requires HTTPS. If the certificate fails, visitors cannot bypass the warning.
- A CDN or proxy creates two connections, one from the browser to the CDN and one from the CDN to your origin server. Visitors see the CDN certificate. If the browser shows an old one, check the CDN settings and inspect the origin certificate separately. Flexible SSL encrypts only the connection to the CDN and uses HTTP to the origin, which can cause a redirect loop. The X-Forwarded-Proto header tells the origin which protocol the visitor used. The CMS must take it into account.
In Joomla 4, 5 or 6, go to System → Global Configuration → Server and enable HTTPS. In configuration.php, the force_ssl setting uses 0 to disable forced HTTPS, 1 to require it for the administration area and 2 to require it throughout the site.
A secure connection depends on certificates, server settings and resource URLs
- Establish whether the warning affects everyone or only one device.
- Check the certificate the server actually presents and whether the chain is complete.
- Verify that automatic renewal runs and that the server loads the new file.
- If the padlock is missing after installation, investigate the server, proxy and CMS configuration before requesting another certificate.
If you run a site on 1C-Bitrix or the Tilda website builder and need to move it to HTTPS without mixed content, QIO can help as part of its website development work.
Questions and answers
Why does the browser still show the old certificate after renewal?
The web server may still point to the old file or may not have reloaded its configuration. Check the certificate in its directory, the configured path and whether the server reloaded.
What is mixed content?
An HTTPS page loads some resources over HTTP. These can include images, scripts, fonts, stylesheets or external widgets referenced by old links in templates or the CMS database.
Where can I find resources loaded over HTTP?
Check the Console and Network tabs in your browser’s developer tools. They usually identify resources requested over HTTP.
How do I fix mixed content?
Replace absolute http:// links with https:// and use relative URLs where appropriate. Update the site address in the CMS and old database links. Inspect templates, plugins and external widgets, and confirm that third-party resources support HTTPS.
Can mixed content prevent a page from loading properly?
Yes. It can trigger browser warnings and interfere with images, scripts, fonts and stylesheets.
Follow the journal
New pieces on websites, SEO and AI come out in the QIO journal. Follow in Google, by RSS or in Telegram to get them first.


