Skip to content
ecdsa.com
Firefox (NSS)Browsers

Error message

SEC_ERROR_UNKNOWN_ISSUER

Shown on the warning page under "Advanced" as "Error code: SEC_ERROR_UNKNOWN_ISSUER"; automation tools report the bare code. Self-signed site certificates get their own code (MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT) on the warning page; the Playwright build reported them only as SSL_ERROR_UNKNOWN in our test.

Firefox (NSS) — "Warning: Potential Security Risk Ahead", certificate issuer not trusted

What it means

Firefox could not build a chain from the site's certificate to a root in its trust store, so it shows "Warning: Potential Security Risk Ahead" with error code SEC_ERROR_UNKNOWN_ISSUER. Firefox uses its own NSS root store (Mozilla's list), not the operating system's, unless enterprise roots are enabled. A private CA, an inspecting proxy, or a server that omits its intermediate are the usual causes.

Why it happens

How to fix it

  1. 1.

    Managed devices: trust the company root via policy

    policies.json (or the equivalent GPO/MDM setting) can import roots from the OS store (ImportEnterpriseRoots) and install additional CA files.

    json
    {
      "policies": {
        "Certificates": {
          "ImportEnterpriseRoots": true,
          "Install": ["/etc/ssl/private-ca/corp-root-ca.pem"]
        }
      }
    }
  2. 2.

    Site owners: send the full chain

    Configure the full-chain file; test with a client that does not cache intermediates, such as openssl.

    bash
    # Site owners: Firefox also caches intermediates, so test with a fresh client
    openssl s_client -connect www.example.com:443 -servername www.example.com -showcerts </dev/null 2>/dev/null \
      | grep -E '^ *[0-9]+ s:|^ *i:'
  3. 3.

    Users: check the issuer before accepting the risk

    "Accept the Risk and Continue" adds a permanent exception for that certificate; only do it for your own devices on networks you control.

    text
    Click "Advanced" → "View Certificate" and read the issuer before deciding anything:
    company or security-vendor name → trust that root via policy or Settings → Certificates;
    unknown issuer on a public network → do not accept the risk.

Related errors

Browse the full signature error database