8ab4a946e0
- Changes the behaviour when a certificate error is encountered. Instead of just showing the certificate override dialog box, show a notification which opens the dialog if it is clicked on. - Uses a different notification text depending on the type of error. Domain mismatch (potential man-in-the-middle) errors will not show the certificate override dialog at all. - Surfaces errors that appear from changing the displayed folder. Previously these just silently failed. - Tests all of the above. Differential Revision: https://phabricator.services.mozilla.com/D208956 --HG-- extra : rebase_source : bc569ba7a6555aef27fba39b1429a18c9cec7dbf extra : amend_source : a48d8b7ad7f7030b33fcf5f543f00581785fedbd |
||
---|---|---|
.. | ||
ca.key | ||
ca.key.keyspec | ||
dav.cert | ||
dav.cert.certspec | ||
dav.key | ||
expired.cert | ||
expired.cert.certspec | ||
expired.key | ||
notyetvalid.cert | ||
notyetvalid.cert.certspec | ||
notyetvalid.key | ||
oauth.cert | ||
oauth.cert.certspec | ||
oauth.key | ||
readme.txt | ||
selfsigned.cert | ||
selfsigned.cert.certspec | ||
valid.cert | ||
valid.cert.certspec | ||
valid.key |
readme.txt
To add a new certificate, make a file named foo.cert.certspec, then run: - mach generate-test-certs foo.cert.certspec - openssl pkcs12 -export -inkey ca.key -in foo.cert -name foo -out foo.key This will generate foo.cert and foo.key. All three files should be checked in. The .cert and .key files should be added to mailnews/moz.build. See ServerTestUtils.sys.mjs to see how to use the files.