Closed Bug 1508730 Opened 1 year ago Closed 1 month ago

Expose certificate information in WebResponse

Categories

(GeckoView :: General, enhancement, P1)

enhancement

Tracking

(firefox74 fixed)

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: snorp, Assigned: snorp)

References

()

Details

(Whiteboard: [geckoview:m74])

Attachments

(5 files)

This would probably reuse GeckoSession.SecurityInfo (and move it out of GeckoSession).
Product: Firefox for Android → GeckoView
Rank: 50
Summary: Expose certificate information in WebResponse → Make `about:certificate` work in GeckoView
Summary: Make `about:certificate` work in GeckoView → Expose certificate information in WebResponse
Whiteboard: [geckoview:m74]
Assignee: nobody → snorp
Status: NEW → ASSIGNED

This is the server certificate, if any, as a
java.security.cert.X509Certificate.

This is useful if you get a certificate-related error and want
to inspect the broken certificate.

Priority: P2 → P1
Pushed by jwillcox@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/15c4a4d8a9f2
Expose full X509Certificate in `SecurityInfo` object r=geckoview-reviewers,droeh,agi
https://hg.mozilla.org/integration/autoland/rev/8e98687f6321
Add `WebResponse#isSecure` r=geckoview-reviewers,droeh,agi
https://hg.mozilla.org/integration/autoland/rev/7deec357e1fc
Add `WebResponse#certificate` r=geckoview-reviewers,droeh,agi
https://hg.mozilla.org/integration/autoland/rev/ea063dbb6c1b
Add `WebRequestError#certificate`. r=geckoview-reviewers,droeh,agi

I noticed a potential bug in D58155. Adding a comment here because it is easy to miss comments on phab afterwards.

Pushed by jwillcox@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/be7bf28e261f
Ensure `WebExecutorTest#testSslError()` actually throws r=geckoview-reviewers,twisniewski
You need to log in before you can comment on or make changes to this bug.