Broken PEM Encoding in new Certificate Viewer
Categories
(Firefox :: Security, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | affected |
People
(Reporter: wthayer, Unassigned)
References
(Blocks 1 open bug)
Details
Steps to reproduce in Nightly:
- Click lock icon --> Connection Details --> More Information --> View Certificate
- Copy encoded data under Miscellaneous section beginning with "-----BEGIN"
- Paste into https://tls-observatory.services.mozilla.com/static/certsplainer.html
- Result is an error. Should be a decoded certificate.
With the new viewer we appear to lose the ability to export a certificate, so we need to be able to cut & paste the PEM encoded certificate into a file or into tools like Certsplainer.
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
Also, please re-add the "Export" button that used to be available on the Certificate Viewer (it was at the bottom the Details section).
Comment 2•5 years ago
|
||
This bug needs to be fixed before the new Certificate Viewer goes into Release.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
This PEM was never supposed to be there. It's a regression from Certainly Something: there should be two links, one two download the certificate, and one to download the chain.
Comment 6•5 years ago
|
||
-
Would it be helpful if we had links to useful tools like certsplainer etc. directly on the about:certificate page (I guess that would need certsplainer to allow sending the certificate via query parameter)? Are there other tools that we could link to?
-
Should we make it so that the certificate (and other fields) can be more easily copied, i.e. by adding a copy to clipboard button?
I can file these bugs if you think they are good ideas.
Comment 7•5 years ago
|
||
• Maybe someday? certsplainer is pretty rough as it is, so I'm not 100% certain we want to be linking to it until it's something that is nicely consumable by the public.
• That's a good amount of UX work; it should almost be entirely copy-pastable as it stands. Are you having trouble with that? We could maybe do some CSS magic that adds colons when you copy; I think that's possible.
Description
•