# Firefox: Warning: Potential Security Risk Ahead

> What each Firefox certificate warning means, how to read the error code, and how owners fix a missing intermediate, wrong name or expired certificate.

Canonical: https://scaplet.com/errors/browser/firefox-warning-potential-security-risk-ahead

Guide Error · Browser errors

What each Firefox certificate warning means, how to read the error code, and how owners fix a missing intermediate, wrong name or expired certificate.

4 min

read

5

sources

Nov 1, 2026

updated

Scaplet Editorial Team

author

In one line

Firefox shows "Warning: Potential Security Risk Ahead" when it cannot trust the TLS certificate a site presents: expired, wrong name, self-signed, unknown issuer, or a missing intermediate. Visitors should click Go back. Site owners should read the error code under Advanced, then check the certificate chain with `openssl s_client` and install a full chain.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-warning-potential-security-risk-ahead%20(%22Firefox%3A%20Warning%3A%20Potential%20Security%20Risk%20Ahead%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-warning-potential-security-risk-ahead%20(%22Firefox%3A%20Warning%3A%20Potential%20Security%20Risk%20Ahead%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-warning-potential-security-risk-ahead%20(%22Firefox%3A%20Warning%3A%20Potential%20Security%20Risk%20Ahead%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fbrowser%2Ffirefox-warning-potential-security-risk-ahead%20(%22Firefox%3A%20Warning%3A%20Potential%20Security%20Risk%20Ahead%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 3 parts, 4 minutes.

1. [Read the reason Firefox gives 01](#read-the-reason-firefox-gives)
2. [If you own the site: check the chain from the server 02](#if-you-own-the-site-check-the-chain-from-the-server)
3. [Fix by symptom, and confirm 03](#fix-by-symptom-and-confirm)

_01_What Firefox says about each cause (from Firefox's built-in strings)

## Read the reason Firefox gives

In Firefox's own strings the [page title](/glossary/title-tag) is "Warning: Potential Security Risk Ahead", and the intro says Firefox spotted a potentially serious security issue and that "Someone pretending to be the site could try to steal things like credit card info, passwords, or emails." Click Advanced to see the specific reason and an error code, then match it below.

Cause

### Wrong name

What the page says

The certificate "isn't valid for" the host, and lists the names it is valid for. Error name: `ssl-error-bad-cert-domain`, "requested domain name does not match the server's certificate"

Who can fix it

Site owner: issue a certificate that includes the host name

Cause

### Expired

What the page says

Firefox doesn't trust the site "because it looks like the certificate expired on" a date. It also shows your device's clock date

Who can fix it

Site owner: renew. Visitor: check the device clock first

Cause

### Not yet valid

What the page says

"the certificate will not be valid until" a date. Usually a wrong clock

Who can fix it

Visitor: fix the clock, or site owner: check the certificate start date

Cause

### Unknown issuer

What the page says

Firefox can't tell who issued the certificate, "it's self-signed, or the site isn't sending intermediate certificates we trust". Error name: `sec-error-unknown-issuer`, "Peer's Certificate issuer is not recognized."

Who can fix it

Site owner: install the full chain

Cause

### Self-signed

What the page says

"This site's certificate is self-signed. It wasn't issued by a recognized certificate authority"

Who can fix it

Site owner: use a certificate from a public CA, unless it is an internal site

Cause

### Revoked or untrusted CA

What the page says

The certificate "has been revoked" or was issued by a CA "that isn't trusted anymore"

Who can fix it

Site owner: get a new certificate

Cause

### Software in the middle

What the page says

Firefox uses its own Mozilla CA store, so an antivirus program or network that intercepts the connection with a certificate from a CA not in that store makes the connection unsafe

Who can fix it

Visitor or IT: configure or pause the interception software, or ask your network team

**Do not click through on a site you do not own**The primary button reads "Go back (Recommended)" and the override button reads "Proceed to <host> (Risky)". For a self-signed or unknown issuer, Firefox's own wording is that the problem is probably with the site itself, so there is little you can do as a visitor.

_02_Fix it on your stack

## If you own the site: check the chain from the server

The most common owner-side cause of an unknown issuer is a missing intermediate. nginx's documentation explains why this looks inconsistent: some browsers complain while others do not, because browsers usually store intermediates they have seen before. Test from a clean client, not from your own browser.

Inspect what the server actually sends
Inspect what the server actually sends

```
# -servername sets SNI; without it OpenSSL derives it from -connect when that is a DNS name openssl s_client -connect example.com:443 -servername example.com -showcerts </dev/null # -showcerts lists the certificates exactly as the server sent them, in order. # One certificate only (the leaf) usually means the intermediate is missing. # Quick expiry and name check on the leaf openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -subject
```

nginx: leaf first, then the CA bundle
nginx: leaf first, then the CA bundle

```
# cat www.example.com.crt bundle.crt > www.example.com.chained.crt server { listen 443 ssl; server_name www.example.com; ssl_certificate www.example.com.chained.crt; ssl_certificate_key www.example.com.key; }
```

Apache 2.4.8 and later: chain in the certificate file
Apache 2.4.8 and later: chain in the certificate file

```
<VirtualHost *:443> ServerName www.example.com SSLEngine on # File holds the leaf, then intermediates sorted from leaf to root SSLCertificateFile /etc/ssl/www.example.com.chained.crt SSLCertificateKeyFile /etc/ssl/www.example.com.key </VirtualHost>
```

**Wrong order stops nginx from starting**nginx's docs say that if the leaf and bundle are concatenated in the wrong order, nginx fails to start with an `SSL_CTX_use_PrivateKey_file ... key values mismatch` error, because it tries the private key against the bundle's first certificate.

_03_How it works

## Fix by symptom, and confirm

1. 1

### Wrong date or time shown on the warning

Firefox shows your device's clock on expired and not-yet-valid pages. If it is wrong, fix it in system settings, restart Firefox and reload.
2. 2

### Only your network or machine fails

Try another network and another device. If it works there, suspect antivirus or a corporate proxy, because Firefox uses its own CA store rather than the operating system's.
3. 3

### Everyone fails

Run the `openssl s_client` commands above, then fix the name, expiry or chain on the server. Reload the web server after replacing files.
4. 4

### Re-test on a clean profile

Open the URL in a private window. The warning should be gone and the padlock present. See also [Firefox secure connection failed](/errors/browser/firefox-secure-connection-failed).

Related reading for owners: [expired SSL certificate](/seo-issues/expired-ssl-certificate) and the Chrome version of this warning, [your connection is not private](/errors/browser/your-connection-is-not-private).

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ Is it safe to click Advanced and proceed?

Only on a site you control or an internal site you know. Firefox's own text says someone pretending to be the site could try to steal credit card info, passwords or emails, and labels the override button "Risky".

_02_ Why does the site work in Chrome but not in Firefox?

Firefox uses the Mozilla CA store instead of the operating system's certificates. A missing intermediate can also show in one browser and not another, because browsers usually cache intermediates they have seen before, as the nginx docs explain.

_03_ What does SEC_ERROR_UNKNOWN_ISSUER mean?

Firefox's message for it is "Peer's Certificate issuer is not recognized." The certificate may be self-signed, or the server may not be sending the intermediate certificates Firefox needs.

_04_ How do I check my certificate chain?

Run `openssl s_client -connect host:443 -servername host -showcerts`, which lists the certificates exactly as the server sent them, and compare them with what your CA gave you. nginx's documentation suggests the openssl utility for confirming the server sends the full chain.

Sources · 5

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- github.com
- nginx.org
- apache.org
- openssl.org

1. 01 [Firefox source: toolkit/locales/en-US/toolkit/neterror/certError.ftl](https://github.com/mozilla-firefox/firefox/blob/main/toolkit/locales/en-US/toolkit/neterror/certError.ftl) github.com · checked 2026-11-01
2. 02 [Firefox source: toolkit/locales/en-US/toolkit/neterror/nsserrors.ftl](https://github.com/mozilla-firefox/firefox/blob/main/toolkit/locales/en-US/toolkit/neterror/nsserrors.ftl) github.com · checked 2026-11-01
3. 03 [nginx: Configuring HTTPS servers (SSL certificate chains)](https://nginx.org/en/docs/http/configuring_https_servers.html) nginx.org · checked 2026-11-01
4. 04 [Apache httpd 2.4: mod_ssl (SSLCertificateFile)](https://httpd.apache.org/docs/2.4/mod/mod_ssl.html) httpd.apache.org · checked 2026-11-01
5. 05 [OpenSSL: openssl-s_client](https://docs.openssl.org/master/man1/openssl-s_client/) docs.openssl.org · checked 2026-11-01

## Keep learning

[All errors](/errors)

[Learn Firefox: "Secure Connection Failed" Browser errors](/errors/browser/firefox-secure-connection-failed) [Related Expired SSL certificate Security and mobile](/seo-issues/expired-ssl-certificate) [Read next SSL certificate problem: unable to get local issuer certificate Browser errors](/errors/browser/ssl-certificate-problem-unable-to-get-local-issuer-certificate) [Do Run a free site audit Free, about two minutes](/site-audit)

More Firefox errors
[Firefox Server Not Found](/errors/browser/firefox-server-not-found) [Firefox: "Secure Connection Failed"](/errors/browser/firefox-secure-connection-failed) [Firefox: File not found](/errors/browser/firefox-file-not-found) [Firefox: the connection has timed out](/errors/browser/firefox-the-connection-has-timed-out)

More in Browser errors
[Access-Control-Allow-Origin](/errors/browser/access-control-allow-origin) [Aw, Snap!](/errors/browser/aw-snap) [blocked:mixed-content](/errors/browser/blocked-mixed-content) [Chrome out of memory](/errors/browser/chrome-out-of-memory) [Firefox Server Not Found](/errors/browser/firefox-server-not-found) [Firefox: "Secure Connection Failed"](/errors/browser/firefox-secure-connection-failed) [Firefox: File not found](/errors/browser/firefox-file-not-found) [Firefox: the connection has timed out](/errors/browser/firefox-the-connection-has-timed-out) [Firefox: Warning: Potential Security Risk Ahead](/errors/browser/firefox-warning-potential-security-risk-ahead) [Refused to apply style ... because its MIME type](/errors/browser/refused-to-apply-style-from-because-its-mime-type) [Safari can't find the server](/errors/browser/safari-can-t-find-the-server) [Safari can't open the page](/errors/browser/safari-can-t-open-the-page) [Safari: "This Connection Is Not Secure" and related warnings](/errors/browser/safari-this-connection-is-not-private) [SSL certificate problem: unable to get local issuer certificate](/errors/browser/ssl-certificate-problem-unable-to-get-local-issuer-certificate) [Text content does not match server-rendered HTML](/errors/browser/text-content-does-not-match-server-rendered-html) [This page isn't working](/errors/browser/this-page-isn-t-working) [This site can't provide a secure connection](/errors/browser/this-site-can-t-provide-a-secure-connection) [Uncaught ReferenceError: x is not defined](/errors/browser/uncaught-referenceerror-is-not-defined) [Uncaught TypeError: Cannot read properties of undefined](/errors/browser/uncaught-typeerror-cannot-read-properties-of-undefined) [Your connection is not private](/errors/browser/your-connection-is-not-private) [Your connection is not private in Chrome (on every site)](/errors/browser/your-connection-is-not-private-chrome)

Terms on this page
[Title tag](/glossary/title-tag)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
