SSL / monitoring TECHNICAL HANDBOOK / 2026

SSL ERRORS

ERROR_SELF_SIGNED_CERT: causes and fixes

Firefox received a self-signed certificate that it does not trust. Check whether it belongs to a private service or is a fallback certificate from the wrong virtual host.

What it means

Public websites usually need a certificate issued through a CA trusted by visitors’ browsers. Private services can use a managed CA or a pinned certificate. Identify the service’s trust setup, then compare the certificate fingerprint with the owner’s configuration.

What to check

  1. Compare the peer address and leaf fingerprint with the service owner’s expected configuration.
  2. Check whether a default virtual host is returning a fallback certificate.
  3. Distinguish an intentional private service from an unexpected interception certificate.

Test the connection

openssl s_client -connect www.example.com:443 -servername www.example.com \
  -verify_hostname www.example.com -verify_return_error </dev/null

Run this OpenSSL 3.x example in a POSIX shell. Keep the hostname, peer address and full verification result with the error report.

Choose Windows, macOS or Linux commands →

How to fix it

  1. For a public website, deploy an appropriate publicly trusted certificate and its required intermediates.
  2. Correct the virtual-host mapping if a fallback self-signed certificate was selected.
  3. For controlled private PKI, use an administrator-approved trust design and distribute its anchor through the normal management channel.

Check the fix

Reconnect with the intended hostname in Firefox using its ordinary trust configuration. Verify the served identity and chain, not only the disappearance of a dialog after an exception.

Details worth checking

Check for a default virtual host before changing trust settings. A missing SNI mapping can expose a self-signed fallback certificate even when the correct certificate is installed elsewhere.

Related guides

Related errors

References