Email VPS
Troubleshooting and repair

Browser says the site is not secure, how to fix the SSL error

SSL warning in the browser

When the browser says the connection is not private, the site is effectively down. Most visitors turn back at the warning screen. The cause is usually easy to fix, and the code in the error message tells you directly which problem you have.

In short

  • Read the error code, it narrows the cause immediately.
  • An expired certificate is the most common and the fastest to fix.
  • A missing padlock without a warning is mixed content, not a certificate problem.

What the error message means

ErrorCauseFix
CERT_DATE_INVALIDThe certificate has expiredRenew it. Automatic renewal has probably stopped working.
CERT_COMMON_NAME_INVALIDThe certificate is for another addressThe certificate is missing the www version, for example. Order one that covers both.
CERT_AUTHORITY_INVALIDThe issuer is not recognisedThe intermediate certificate is missing from the install, or the certificate is self signed.
No warning but no padlockMixed contentThe page loads over HTTPS but an image or script comes over HTTP.

An expired certificate

Current free certificates are valid for 90 days and renew automatically. By the time a certificate is allowed to expire, renewal has already stopped working earlier. The usual causes are the domain being pointed somewhere else partway through and a redirect that blocks the renewal check. On Nordweb hosting the certificate renews automatically and needs no monitoring. Setting one up is described in the guide on taking an SSL certificate into use.

A certificate for the wrong address

The most common form is a certificate that covers the address without the www prefix but not with it, or the other way round. A visitor who types the other form gets a warning. The fix is to order a certificate that covers both and to redirect one form permanently to the other, so the site has exactly one correct address.

Mixed content

If there is no warning but the padlock is missing, the page itself loads securely but part of it does not. The usual cause is an image, stylesheet or script whose address is still in http:// form, often left over from a migration or from switching to HTTPS. The console in the browser developer tools lists these by name. In WordPress it is worth fixing the addresses across the whole site in the database at once rather than editing them one at a time.

Check the redirect as well

Once the certificate is in order, make sure http:// redirects permanently to https://. Without the redirect there are two versions of the site, which splits search visibility and leaves some visitors on an unencrypted connection.

If you would rather not do it yourself

We fix the certificate, the mixed content and the redirects in one go, so neither of them is left hanging. Fixing an SSL error is usually an hour of work.

See how we repair a broken site »