Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Secure connection failed due to cert issuer is unknown

  • 3 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 Paul

more options

Hi there,

I have a lab in which I have a firewall that can decrypt SSL/TLS sessions by using a proxy mechanism, to further scan content. To do this one must deploy a CA certificate on the firewall to issue certificates for the clients' connections - so the certificate chain being sent to the client for any website would be the freshly created server certificate issued by the firewall, the signing (sub)CA certificate and the Root CA certificate.

This works with Firefox, Chrome and Edge on my Windows 10. It also works with Chrome on my Android 9, but not with Firefox. Here I get:

Secure connection failed - Can be a server config error - If you could access this server before, try again later..

Someone could have made a false version of the website.

Firefox does not trust https://<website>, because the issuer of the certificate of the website is unknown.

I think this behaviour should be changed so that it allows this "custom" certificate chain.

I have Firefox version 90.1.1 installed on my Android 9 and no add-ons installed.

/Peter

Hi there, I have a lab in which I have a firewall that can decrypt SSL/TLS sessions by using a proxy mechanism, to further scan content. To do this one must deploy a CA certificate on the firewall to issue certificates for the clients' connections - so the certificate chain being sent to the client for any website would be the freshly created server certificate issued by the firewall, the signing (sub)CA certificate and the Root CA certificate. This works with Firefox, Chrome and Edge on my Windows 10. It also works with Chrome on my Android 9, but not with Firefox. Here I get: '''''Secure connection failed''' - Can be a server config error - If you could access this server before, try again later.. Someone could have made a false version of the website. Firefox does not trust https://<website>, because the issuer of the certificate of the website is unknown.'' I think this behaviour should be changed so that it allows this "custom" certificate chain. I have Firefox version 90.1.1 installed on my Android 9 and no add-ons installed. /Peter

所有回复 (3)

more options

I now learned it is really an Android/Google thing to use certificate pinning, which will of course break everything that is given a "custom" certificate chain.

So I do not know if Firefox is able to "save" their own app or it would resolve if Google stops using certificate pinning in an out-of-control way.

more options

So this is an interesting article by DigiCert from July 2020: https://www.digicert.com/blog/certificate-pinning-what-is-certificate-pinning

But I found that this is not an issue caused by certificate pinning I am seeing, but because Firefox on Android does not use the Android Certificate store - and there seems no way to install certificates into Firefox (there are mentionings on opening a PEM formatted cert in the browser, but it will only install into Android Certificate store.

Reading this GitHub I found a secret menu that allows one to enable the use of the Android Cert store in Firefox: https://github.com/mozilla-mobile/fenix/issues/3728

Tab some times on the Firefox logo in About in the settings menu. Then go to the new Secret menu and enable the Android cert store.

more options

Hi

Yes - as you have found, we are working on increased support for certificates in Firefox for Android and are currently testing it in Nightly. Hopefully it will land in the Release version very soon.