Closed
Bug 1423858
Opened 8 years ago
Closed 6 years ago
Description of SEC_ERROR_EXTENSION_VALUE_INVALID is misleading
Categories
(Developer Documentation Graveyard :: General, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: philipp.gesang, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: 57 Branch
Technical Contact:
:: Details
Regarding the SEC_ERROR_EXTENSION_VALUE_INVALID error, the wiki states:
What it means: A certificate has an extension with an empty
value
What I can do: Re-generate the certificate without the
extension, or re-generate it with a non-empty value
which is an incomplete and potentially misleading description.
The same error code is thrown for certificates that are malformed
wrt. RFC 2459 for example certificates that contain multiple
instances of an extension – a mistake easily made by incorrect
use of the OpenSSL API.
Both the description and the suggestion must be amended to at
least something like this:
What it means: A certificate has an extension that is
specified incorrectly.
What I can do: Identify the malformed extensions and
re-generate the certificate without the offending extension,
or re-generate it with an appropriate value. Possible causes
are an empty extension value, multiple occurrences of the
same extension.
Note that this is still not exhaustive since I did not check the
source for all possible conditions that may trigger the error.
Maybe the RFC should be mentioned?
Comment 1•8 years ago
|
||
Hi Jonathan/April. I am ni'ing you because we need some security expertise on this bug ;-)
Can you confirm that this suggestion looks correct?
Many thanks in advance.
Flags: needinfo?(jkt)
Flags: needinfo?(april)
Comment 2•8 years ago
|
||
This request sounds reasonable, however I would rather check with someone else with much better cert knowledge.
Redirecting ni.
Flags: needinfo?(jkt) → needinfo?(franziskuskiefer)
Comment 3•8 years ago
|
||
I personally think it looks reasonable. I will add this error is exceptionally rare according to our telemetry and so I probably wouldn't sweat it too much.
By exceptionally rare, I mean 164 samples out of 179 million cert errors seen in telemetry.
Flags: needinfo?(april)
Comment 4•8 years ago
|
||
Description sounds good to me. Link to the RFC is probably not super helpful (the x509 rfc isn't great a little lengthy to be useful here).
Flags: needinfo?(franziskuskiefer)
Comment 5•6 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•