httpswatch icon indicating copy to clipboard operation
httpswatch copied to clipboard

Certificates trusted by Mozilla fail the check

Open daknob opened this issue 10 years ago • 16 comments

Sites with certificates trusted by the latest Mozilla Firefox are being reported as not trusted. More specifically, I have observed such behavior from VeriSign Class 3 Public Primary Certification Authority - G5 and AddTrust Public Services Root so far. Will update this bug if I find more root CAs included in the moz-certs.pem and reported as not trusted.

daknob avatar Jan 19 '15 03:01 daknob

See if curl fails, too. Browsers tend to be more aggressive building trust chains when there are missing intermediate certs than openssl.

benjaminp avatar Jan 19 '15 03:01 benjaminp

Nope, curl(1) does not fail on getting the site over https.

daknob avatar Jan 19 '15 03:01 daknob

To make a clarification, I visit the aforementioned websites with Firefox and there is no error but the script reports an error in the certificate and that it's not trusted by Firefox.

daknob avatar Jan 19 '15 03:01 daknob

Update: Two websites that make sure of the same Root CA are being reported one as trusted and the other as not trusted. The site reported as not trusted has an EV Certificate if that helps.

daknob avatar Jan 19 '15 03:01 daknob

What are the sites?

benjaminp avatar Jan 19 '15 03:01 benjaminp

https://www.nbg.gr/ https://www.alpha.gr/

daknob avatar Jan 19 '15 03:01 daknob

I think we're hitting the recent removal of 1024-bit certs from the Mozilla cert bundle and the fact that OpenSSL doesn't support certificate path discovery. Does it work with my recent change to moz-certs.pem?

benjaminp avatar Jan 19 '15 04:01 benjaminp

Some sites (mostly EV's) have been fixed. Others unfortunately continue to be reported as not trusted.. I am still looking for a better file / solution to this problem as we speak..

daknob avatar Jan 19 '15 04:01 daknob

I have manually added the Root CA's again into the moz-certs.pem file and it still cannot mark the websites as trusted. Checked the signature of the certificate presented and the certificate added in the file and they are identical.. Problem with OpenSSL? Something else?

daknob avatar Jan 19 '15 04:01 daknob

I think I fixed https://www.nbg.gr/ hanging.

benjaminp avatar Jan 19 '15 05:01 benjaminp

Both www.nbg.gr and www.alpha.gr work for me now.

benjaminp avatar Jan 19 '15 14:01 benjaminp

Yup, they seem to work fine. The problem now is that the script gets EPERM ( Issue #27 ) instead of anything else to show a better error message.

daknob avatar Jan 19 '15 15:01 daknob

So, is this issue resolved?

benjaminp avatar Jan 19 '15 18:01 benjaminp

What domains are still failing?

benjaminp avatar Jan 19 '15 22:01 benjaminp

An example is https://www.auth.gr

daknob avatar Jan 19 '15 22:01 daknob

Evidently that's a recently fixed limitation of OpenSSL.

benjaminp avatar Jan 19 '15 23:01 benjaminp