X
Tap here to go to the mobile version of the site.

Support Forum

Client certificate selection seems to be broken in Firefox 70

Posted

Until version 69, I was happily working with two client certificates for the same server using *Select one automatically* option; Firefox was choosing the correct certificate for either of the two server-side applications. Since version 70, it doesn't seem to do so anymore. It seems to choose a random(?) certificate out of the two which makes one application work, the other one fails with an SSL error: either SSL_ERROR_UNKNOWN_CA_ALERT or SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT.

When selecting *Ask you every time* option, I can select the appropriate certificate and connect to both application. However, it's not remembering the corresponding certificate and after restarting Firefox, it will suggest the first certificate again (which is correct for one application but wrong for the other). This is another indication that Firefox is not able anymore to choose an appropriate certificate when requested by the server.

Did the *Select one automatically* option or underlying certificate selection mechanisms change with version 70?

How exactly is the certificate selection *supposed to work*? Which parameters of the server's certificate request are used to select the appropriate certificate from my local database?

Is there some debug logging I can turn on to further investigate this problem?

Thanks for any ideas!

-Marc

Until version 69, I was happily working with two client certificates for the same server using *Select one automatically* option; Firefox was choosing the correct certificate for either of the two server-side applications. Since version 70, it doesn't seem to do so anymore. It seems to choose a random(?) certificate out of the two which makes one application work, the other one fails with an SSL error: either SSL_ERROR_UNKNOWN_CA_ALERT or SSL_ERROR_CERTIFICATE_UNKNOWN_ALERT. When selecting *Ask you every time* option, I can select the appropriate certificate and connect to both application. However, it's not remembering the corresponding certificate and after restarting Firefox, it will suggest the first certificate again (which is correct for one application but wrong for the other). This is another indication that Firefox is not able anymore to choose an appropriate certificate when requested by the server. Did the *Select one automatically* option or underlying certificate selection mechanisms change with version 70? How exactly is the certificate selection *supposed to work*? Which parameters of the server's certificate request are used to select the appropriate certificate from my local database? Is there some debug logging I can turn on to further investigate this problem? Thanks for any ideas! -Marc
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

More Information

Dinushi Dhananjani
  • Top 25 Contributor
4 solutions 191 answers

To clear your SSL session state in Firefox choose History -> Clear Recent History... and then select "Active Logins" and click "Clear Now". Then the next time you connect to your SSL server Firefox will prompt for which certificate to use.

To clear your SSL session state in Firefox choose History -> Clear Recent History... and then select "Active Logins" and click "Clear Now". Then the next time you connect to your SSL server Firefox will prompt for which certificate to use.
Was this helpful to you? 0
Quote

Question owner

Unfortunately my problem is exactly the opposite: I don't want to be prompted but Firefox should select the correct certificate automatically.

As written above, to me it seems that something changed (or even broke?) here with Firefox 70.

-Marc

Unfortunately my problem is exactly the opposite: I don't want to be prompted but Firefox should select the correct certificate automatically. As written above, to me it seems that something changed (or even broke?) here with Firefox 70. -Marc
Was this helpful to you?
Quote
Senali Madawala
  • Top 25 Contributor
2 solutions 156 answers

this is about the user interface and preferences if TLS/SSL is used for client authentication.

may help: https://bugzilla.mozilla.org/show_bug.cgi?id=356060

this is about the user interface and preferences if TLS/SSL is used for client authentication. may help: https://bugzilla.mozilla.org/show_bug.cgi?id=356060
Was this helpful to you? 0
Quote

Question owner

Thanks, Senali. Unfortunately I can't see how that applies to my problem.

Thanks, Senali. Unfortunately I can't see how that applies to my problem.
Was this helpful to you?
Quote

Question owner

A document related to client certificate selection: https://wiki.mozilla.org/PSM:CertPrompt

A document related to client certificate selection: https://wiki.mozilla.org/PSM:CertPrompt
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.