Open Bug 1777950 Opened 2 years ago Updated 2 years ago

Allow extensions to open certificates in about:certificate

Categories

(WebExtensions :: Frontend, enhancement, P5)

enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: tdulcet, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image image.png

This is similar to bug 1420406, bug 1420105 and bug 1420405.

The webRequest.getSecurityInfo() function when passed the rawDER option allows extensions to get the raw SSL/TLS certificates for a connection. This can be used to generate about:certificate URIs (bug 1553524) for the tabs.create() function to allow the user to click a button to view those certificates. However, doing so generates an error: Security Error: Content at moz-extension://<snip>/popup.html may not load or link to about:certificate?cert=<snip>. The only workaround it to copy that URI to the clipboard and then ask the user to paste it into their address bar, which is obviously an unnecessary hassle for them to just view a certificate.

Blocks: cert-viewer
Depends on: 1269456
Severity: -- → N/A
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: