Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

problems with client certificate authentication in Firefox 4

  • 4 replies
  • 53 have this problem
  • 1 view
  • Last reply by bernattp

more options

Hi,

I am having a problem with client certificate authentication since i upgrade from firefox 3.6 to 4. I can choose the certificate but then i receive an

SSL peer was not expecting a handshake message it received.

(Error code: ssl_error_handshake_unexpected_alert)

And in the apache error log i receive the following

[Sun Apr 17 00:07:20 2011] [error] Re-negotiation handshake failed: Not accepted by client!?

If i just press f5 and reload, the page loads normally. In firefox 3.6 and IE 8,9 it works fine.

Hi, I am having a problem with client certificate authentication since i upgrade from firefox 3.6 to 4. I can choose the certificate but then i receive an SSL peer was not expecting a handshake message it received. (Error code: ssl_error_handshake_unexpected_alert) And in the apache error log i receive the following [Sun Apr 17 00:07:20 2011] [error] Re-negotiation handshake failed: Not accepted by client!? If i just press f5 and reload, the page loads normally. In firefox 3.6 and IE 8,9 it works fine.

All Replies (4)

more options

+1 I'm having the same problem

This issue only occurs when using URL-based authentication -- so as a workaround, you could create a separate vhost where client certificates are always required. Unfortunately this requires a separate certificate and another IP address.

EDIT: I have submitted a bug report for this: Bugzilla #651897

Modified by intgr

more options

Does your server support secure renegotiation? To check, go to https://www.ssllabs.com/, put your server's domain name into the "Test Your SSL Server Now!" input box, and click Submit. SSLLabs will do a bunch of tests which take a while. Afterwards, in the report you will see a line in the "Miscellaneous" section called "Renegotiation", with the value "Secure Renegotiation Supported." If you see something else, then your server doesn't support secure renegotiation; enabling it to resolve this issue. How you enable it depends on the server and/or SSL accelerator (load balancer) you are using.

more options

Yes, the server supports secure renegotiation. I am using apache 2.2.16 compiled with Openssl 0.9.8o. Here are the results from the ssllabs:

https://www.ssllabs.com/ssldb/analyze.html?d=ripemd.labsec.ufsc.br

more options

Try to upgrade firefox. It seems the error it's only in Firefox 3.6.8 to 3.6.1x see it ->https://bugzilla.mozilla.org/show_bug.cgi?id=651897 It worked for my web page in the browsers:

  • 3.5.15
  • 7.0
  • 8.0.1

And don't work in:

  • 3.6.16

Modified by bernattp