Display a more helpful error when a SSL handshake fails due to a client certificate
Categories
(Firefox :: Security, enhancement, P3)
Tracking
()
People
(Reporter: tjr, Unassigned)
References
(Blocks 1 open bug)
Details
Updated•8 years ago
|
Updated•8 years ago
|
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
I think the first step here is to understand what SSL_ERROR_HANDSHAKE_FAILURE_ALERT means, in Firefox terms. If this covers more than just missing client certs, we may either need to find a way to single those out in their own error code or word the error in a way that it is more understandable but also covers the other possibilities. Once we know this we can ask someone from UX to help us with the copy.
Dana, can you provide some insights on the above? :)
Thanks!
![]() |
||
Comment 7•7 years ago
|
||
My understanding is that SSL_ERROR_HANDSHAKE_FAILURE_ALERT means the TLS server we're trying to connect to terminated the handshake early. We don't necessarily know why (in theory the server could just be "eh, I don't feel like it"), but in practice users tend to encounter this only when the server was expecting a client certificate and didn't get one. In fact, if we note when a server asks for a client certificate and the user either doesn't have one or doesn't pick one, we could be more confident that this is why the server closed the connection (this would best be done in a separate bug).
Assuming we had that confidence, we could certainly show a better error message like:
<site> asked Firefox to provide a login certificate, but you don't have any (in the case where they don't have any usable client certificate)
<site> asked Firefox to provide a login certificate, but you didn't select one (in the case where they have client certificates but chose not to send one)
<site> didn't accept the login certificate you selected (in the case where they chose one but the server closed the connection anyway)
If we aren't confident the issue is due to client certificates, we could say something more generic like:
<site> closed the connection when Firefox tried to connect to it
Comment 8•7 years ago
|
||
I misunderstood, I thought only need to update this error message.
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem. It would be great to change this error message to suggest that a client certificate is required.
Updated•7 years ago
|
Updated•3 years ago
|
Comment hidden (advocacy) |
Comment 17•2 months ago
|
||
restricting comments because this has become a spam-magnet.
Description
•