Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

Error code: SEC_ERROR_UNKNOWN_ISSUER

  • 10 risposte
  • 1 ha questo problema
  • 1 visualizzazione
  • Ultima risposta di cor-el

more options

Good morning,

I have Firefox 63.0 (64-bit) for ArchLinux. The main article on the firefox website says:

MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED will be the primary error but with some servers, you may see the error code SEC_ERROR_UNKNOWN_ISSUER instead. In any case, if you come across such a site you should contact the owner of the website to inform them of that problem. We strongly encourage operators of affected sites to take immediate action to replace these certificates.

However the websites that I am having this issue on are large websites like LinkedIn and Reddit, so I'm fairly certain it isn't an issue on the websites side.1

Good morning, I have Firefox 63.0 (64-bit) for ArchLinux. The main article on the firefox website says: MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED will be the primary error but with some servers, you may see the error code SEC_ERROR_UNKNOWN_ISSUER instead. In any case, if you come across such a site you should contact the owner of the website to inform them of that problem. We strongly encourage operators of affected sites to take immediate action to replace these certificates. However the websites that I am having this issue on are large websites like LinkedIn and Reddit, so I'm fairly certain it isn't an issue on the websites side.1

Tutte le risposte (10)

more options

Hi jtiki, which error code(s) are you getting? The two you mentioned usually have quite different causes. If Firefox doesn't display the error code immediately, click the "Advanced" button to view more details.

And jumping ahead a bit: How to troubleshoot security error codes on secure websites

more options

jscher2000 said

Hi jtiki, which error code(s) are you getting? The two you mentioned usually have quite different causes. If Firefox doesn't display the error code immediately, click the "Advanced" button to view more details. And jumping ahead a bit: How to troubleshoot security error codes on secure websites


The issue/error is the same for both sites:

www.reddit.com uses an invalid security certificate. The certificate is not trusted because the issuer certificate is unknown. The server might not be sending the appropriate intermediate certificates. An additional root certificate may need to be imported. Error code: SEC_ERROR_UNKNOWN_ISSUER

I disabled all of my add-ons and restarted the browser too, just to be certain that those were not causing any issues.

more options

A common reason for that code is a "man in the middle" such as security software or a proxy server. The man in the middle needs to generate fake website certificates in order to decrypt and read your browsing requests/responses. The article I linked earlier mentions some of the common products that cause this issue. I don't know how applicable it is to Linux.

You also can usually gain some insight by examining the certificate that Firefox doesn't trust. Click the SEC_ERROR_UNKNOWN_ISSUER -- it's usually styled as a link -- to open a panel showing the coded certificate (large block of gibberish). You can use a site like the following to decode it and view the "Issuer" information, which often points to the culprit.

https://certlogik.com/decoder/

more options

I plugged the cert information into the website you linked and attached some screenshots. It looks the like certificate is valid as far as I can tell, the one thing I did notice is that each certs are issued by "CN = DigiCert SHA2 Secure Server CA,O = DigiCert Inc,C = US". DigitCert is a well known and trusted cert company too if I recall, so I don't think it's that.

As far as software goes I don't believe anything is getting in the way. I turned off my firewall temporarily to make sure it wasn't that and I don't use any other software like proxy, etc.

more options

Try to rename cert9.db (cert9OLD.db) and cert8.db (cert8OLD.db) when present in the Firefox profile folder.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Modificato da cor-el il

more options

Alright I found the directory mentioned in this location /home/{user}/.mozilla/firefox/hpbvc9b8.default

I was able to find cert9.db and rename it, but couldn't find any cert8.db. I made sure to check every folder under ~/.mozilla/firefox/ for core8.db, but nothing came up. I restarted the browser and attempted to go to https://www.linkedin.com/ with no change.

more options

MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED can mean that Firefox detects a certificate that has been compromised and is disabled. This shouldn't happen with respected websites like reddit

certificate-issued-by-a-authority-belonging-to-symantec

You can check the connection settings.

  • Options/Preferences -> General -> Network: Connection -> Settings

If you do not need to use a proxy to connect to internet then try to select "No Proxy" if "Use the system proxy settings" or one of the others do not work properly.

See "Firefox connection settings":


You can check if there is more detail available about the issuer of the certificate.

  • click the "Advanced" button show more detail
  • click the blue error text to show the certificate chain
  • click "Copy text to clipboard" and paste the base64 certificate chain text in a reply

If clicking the blue error text doesn't provide the certificate chain then try these steps to inspect the certificate.

  • open the Servers tab in the Certificate Manager
    • Options/Preferences -> Privacy & Security
      Certificates: View Certificates -> Servers: "Add Exception"
  • paste the URL of the website (https://xxx.xxx) in it's Location field

Let Firefox retrieve the certificate -> "Get Certificate"

  • click the "View" button and inspect the certificate

You can see detail like the issuer of the certificate and intermediate certificates in the Details tab.

more options

Reddit


https://www.reddit.com/

Peer’s Certificate issuer is not recognized.

HTTP Strict Transport Security: true HTTP Public Key Pinning: false

Certificate chain:


BEGIN CERTIFICATE-----

MIIHQzCCBiugAwIBAgIQB1sC352kFlEvZM5wcfyMBzANBgkqhkiG9w0BAQsFADBN MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMScwJQYDVQQDEx5E aWdpQ2VydCBTSEEyIFNlY3VyZSBTZXJ2ZXIgQ0EwHhcNMTgwODE3MDAwMDAwWhcN MjAwOTAyMTIwMDAwWjBnMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5p YTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEUMBIGA1UEChMLUmVkZGl0IEluYy4x FTATBgNVBAMMDCoucmVkZGl0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC AQoCggEBAM/pmlSjpBriKS1FgXKzqItMziu7otc9nmls8zLRaKwDHRpwVfiGWkLc kOfvhn79U2zqwDilJ7TKepbjXgpa7mUgs5bX5DqZPXhyfV1hFD66RRQi2wVbvdbJ dBGL3VrKZVJRIIpTtc3Q169FIslNKbc9eGq1nwO/REhI5dxDCHAoHwLpp+XfbjkB JGzlgKIBdBHed67KFVUKFvh1RVanVJUNG6IkAXXnPZSigwfA2wBH3QguOc1YxswP B4cOH5sdZeAJQ6j9rSxNqjZthoV43La5nsVYxRtreJ8ooV5ZX/dsL7BBBkWfF/ac VSU3f7X7XiFz23vruQyBNQKT2HKXwgcCAwEAAaOCBAMwggP/MB8GA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6m6K7hQGrn2iWZiIqBtvLfTyyRRfJs8sjX7tN8Cp1Tm5gr8ZDOo0rwAhaPit c+LJMto4JQtV05od8GiG7S5BNO98pVAdvzr508EIDObtHopYJeS4d60tbvVS3bR0 j6tJLp07kzQoH3jOlOrHvdPJbRzeXDLz


END CERTIFICATE-----
more options

As best I can tell, the two certificates are identical to the ones my Firefox accepts.

Which implies that the root certificate which signed the intermediate certificate -- which is supplied as part of Firefox and stored in cert9.db -- is somehow untrusted in your Firefox, or that Firefox is broken and not comparing correctly.

If you are running a Firefox build from your distribution instead of the one directly from Mozilla, are you aware of any relevant changes they might have made?

Otherwise, I would suggest removing cert9.db and letting Firefox rebuild it. There's a section in the general article on steps to do that: What do the security warning codes mean? (see "Corrupted certificate store").

more options

Note that the OP already has tried to remove cert9.db.

Try to rename/remove pkcs11.txt and secmode.db as well.

You can check the DigiCert Global Root CA in the Certificate Manager under the Authorities tab.