In short. Your site presents a certificate that it signed itself, which no browser can trust. Visitors see a security warning. For a public site, replace it with a certificate issued by an authority that browsers trust; many are free, and often your host provides one.
MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT is Firefox's "The certificate is not trusted because it is self-signed." A self-signed certificate vouches for itself, so nothing links it to an authority the browser already knows.
Last verified: November 26, 2026, against the Chromium and Firefox source code.
How to fix it
- Public site: replace the certificate with one issued by a publicly trusted certificate authority. Your host may offer one in its customer area; on your own server, an ACME client with an authority such as Let's Encrypt can issue and renew it automatically.
- Install the certificate and its intermediates (the full chain) on the web server, then reload it.
- Internal tool or test server: if a self-signed certificate is intentional, the visitors' devices have to be told to trust your own authority, which is an administrator task. For anything customer-facing, use a public authority.
- Check the result with our free SSL certificate check.
- Set up renewal monitoring. Certificates are valid for a limited time, and automatic renewal matters more as lifetimes get shorter.
Related Firefox codes
If Firefox says the issuer is unknown instead, see SEC_ERROR_UNKNOWN_ISSUER.
Free tool. SSL certificate check
Never be caught out by an expiry again. AttackScout monitoring checks your certificate every day and warns you 30, 14, 7 and 1 day before it expires. Check my domain
Frequently asked questions
Is a self-signed certificate encrypted?
It can encrypt the connection, but the browser cannot verify who is on the other end, which is why it warns.
Chrome shows a different code. Which?
Chrome uses NET::ERR_CERT_AUTHORITY_INVALID for a certificate it does not trust.
Related pages
Sources
Accessed on 11/26/2026.
- Firefox, nsserrors.properties (security/manager/locales/en-US/chrome/pipnss): https://github.com/mozilla-firefox/firefox/blob/main/security/manager/locales/en-US/chrome/pipnss/nsserrors.properties
- Firefox, certError.ftl (toolkit/locales/en-US/toolkit/neterror): https://github.com/mozilla-firefox/firefox/blob/main/toolkit/locales/en-US/toolkit/neterror/certError.ftl