Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Your connection is not secure ... This site uses HTTP Strict Transport Security (HSTS) ... Firefox shows the certificate only PEM encoded

  • 3 odpovede
  • 1 má tento problém
  • 175 zobrazení
  • Posledná odpoveď od pabouk

more options

When there is an error during TLS handshake and the site uses HSTS Firefox shows the server's certificate from the TLS handshake only PEM encoded and I have to use additional tools to decode it and see what is going on.

Why does not Firefox show the certificate in a human-readable form? It already has a code to present certificates that way.

Am I missing something or is the PEM encoded certificate really the only form accessible?


--- Example:

Access to Google's web cache was blocked by Cisco Umbrella. The faked certificate required for redirection to a block page was rejected in Firefox and the certificate was shown only in PEM format:

https://webcache.googleusercontent.com/search?q=cache:FJ96nGORP9wJ:https://mailchimp.com/help/set-up-custom-domain-authentication-dkim-and-spf/+&cd=1&hl=cs&ct=clnk&gl=cz&client=firefox-b

Your connection is not secure

The owner of webcache.googleusercontent.com has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.

This site uses HTTP Strict Transport Security (HSTS) to specify that Firefox may only connect to it securely. As a result, it is not possible to add an exception for this certificate.

...

webcache.googleusercontent.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

...

https://webcache.googleusercontent.com/search?q=cache:FJ96nGORP9wJ:https://mailchimp.com/help/set-up-custom-domain-authentication-dkim-and-spf/+&cd=1&hl=cs&ct=clnk&gl=cz&client=firefox-b

Peer’s Certificate issuer is not recognized. HTTP Strict Transport Security: false HTTP Public Key Pinning: true

Certificate chain:


BEGIN CERTIFICATE-----

MIIDZjCCAk6gAwIBAgIEW6HOoTANBgkqhkiG9w0BAQsFADBAMS4wLAYDVQQDDCVD aXNjbyBVbWJyZWxsYSBTZWNvbmRhcnkgU3ViQ0EgZnJhLVNHMQ4wDAYDVQQKDAVD aXNjbzAeFw0xODA5MTcwNDM5MTd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aWVzLzAdBgNVHQ4EFgQUN0GYWj0gLmfKDTLL J8ngxe26n+kwTAYDVR0fBEUwQzBBoD+gPYY7aHR0cDovL3d3dy5jaXNjby5jb20v c2VjdXJpdHkvcGtpL2NybC9jaXNjb3VtYnJlbGxhcm9vdC5jcmwwgYcGCCsGAQUF BwEBBHsweTBJBggrBgEFBQcwAoY9aHR0cDovL3d3dy5jaXNjby5jb20vc2VjdXJp dHkvcGtpL2NlcnRzL2Npc2NvdW1icmVsbGFyb290LmNlcjAsBggrBgEFBQcwAYYg aHR0cDovL3BraWN2cy5jaXNjby5jb20vcGtpL29jc3AwHwYDVR0jBBgwFoAUQ3MA 3iS6QBpAVCx9fNUASIkMcKQwDQYJKoZIhvcNAQELBQADggEBAAhlqdX9AAHOyNPv KA44ulyoprNnXp62XeYnlKRgCPvShWW2eDIMOePS8+RvuPGJdtAm1YoPa9hn0WO2 L+jHmnob7so2yc3c02uio9Q4VqPCuA1T/RmmXerpvHtxx1FfUhboBoiGvP/dnFTX DF0lzLEllP3tYZOH0wjsTjhPERN60zR29lKHludW9ZRc5Fkxj5ZwALvAZ2Iqb0HG DwIhJJjXUpJjZXQPRGQ8N+VDx2UqTf74g/rpKcALUERGFrrJMO0Z7yaiqVsVQ9/J 4FAJCjB6fkivL5SvmDWCB1ZeiRc2ud5qm/II0OuGdtX+mo0/Lo9Lh9Tdg2LxUxEn 7cAtMK0=


END CERTIFICATE-----

All Replies (3)

more options

The the issuer of the certificate is OpenDNS

If you use (or want to use) this service then check their FAQs to see how you can make this work with Firefox.

You can install the Cisco Umbrella Root CA in the Firefox Certificate Manager and set the trust bit for websites when prompted.

  • Issuer O=Cisco, CN=Cisco Umbrella Root CA*

See:

more options

That encoding might be the format in which Firefox receives the certificate; I really have no idea.

I agree it would be preferable to show it in a human readable form, and I don't know why it isn't. I wonder whether there is some concern that malicious code could be generated that way??

more options

cor-el said

The the issuer of the certificate is OpenDNS ...

The certificate was just an example and I already identified it as belonging to Cisco Umbrella which uses OpenDNS certificates. My question was if I have to use and external tool to see the certificate and be able to identify it. But thank you anyway.

Upravil(a) pabouk dňa