Firefox for Android displays wrong messages on TLS error pages
Categories
(Firefox for Android :: Browser Engine, defect, P3)
Tracking
()
People
(Reporter: keeler, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
|
459.60 KB,
image/jpeg
|
Details |
Steps to reproduce
- visit https://expired.badssl.com in fenix
- tap "advanced"
Expected behavior
Because the website's certificate has expired, the advanced text should say something about that.
Actual behavior
The advanced text explains what the problem would be if the server's certificate came from an unknown issuer, but that's not what's wrong with that certificate.
Device information
- Firefox version: 134 and 137, but honestly probably all of them
- Android device model: emulator
- Android OS version: emulator
Any additional information?
Comment 1•11 months ago
|
||
The revoked certificate error page (https://revoked.badssl.com) is particularly confusing. The text in the advanced section says
Firefox does not trust https://revoked.badssl.com/ because its certificate issuer is unknown, the certificate is self-signed, or the server is not sending the correct intermediate certificates.
And the error page has an "Accept the risk and continue" button.
The possible reasons for the error page ("issuer is unknown", "certificate is self-signed", "[incorrect] intermediate certificates") are all overridable errors, and the button normally performs an override. But revoked certificate errors are not overridable, and clicking the override button just loops you back to the error page.
The override button is hidden for HSTS errors, but the text for HSTS errors is not appropriate for revoked certificate errors.
Fennec (Legacy Firefox for Android) shows error details like this. I think Fenix should also do this.
Description
•