diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /browser/base/content/docs/sslerrorreport | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'browser/base/content/docs/sslerrorreport')
-rw-r--r-- | browser/base/content/docs/sslerrorreport/dataformat.rst | 54 | ||||
-rw-r--r-- | browser/base/content/docs/sslerrorreport/index.rst | 15 | ||||
-rw-r--r-- | browser/base/content/docs/sslerrorreport/preferences.rst | 23 |
3 files changed, 92 insertions, 0 deletions
diff --git a/browser/base/content/docs/sslerrorreport/dataformat.rst b/browser/base/content/docs/sslerrorreport/dataformat.rst new file mode 100644 index 000000000..f69dc7417 --- /dev/null +++ b/browser/base/content/docs/sslerrorreport/dataformat.rst @@ -0,0 +1,54 @@ +.. _sslerrorreport_dataformat: + +============== +Payload Format +============== + +An example report:: + + { + "hostname":"example.com", + "port":443, + "timestamp":1413490449, + "errorCode":-16384, + "failedCertChain":[ + ], + "userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0", + "version":1, + "build":"20141022164419", + "product":"Firefox", + "channel":"default" + } + +Where the data represents the following: + +"hostname" + The name of the host the connection was being made to. + +"port" + The TCP port the connection was being made to. + +"timestamp" + The (local) time at which the report was generated. Seconds since 1 Jan 1970, + UTC. + +"errorCode" + The error code. This is the error code from certificate verification. Here's a small list of the most commonly-encountered errors: + https://wiki.mozilla.org/SecurityEngineering/x509Certs#Error_Codes_in_Firefox + In theory many of the errors from sslerr.h, secerr.h, and pkixnss.h could be encountered. We're starting with just MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE, which means that key pinning failed (i.e. there wasn't an intersection between the keys in any computed trusted certificate chain and the expected list of keys for the domain the user is attempting to connect to). + +"failedCertChain" + The certificate chain which caused the pinning violation (array of base64 + encoded PEM) + +"user agent" + The user agent string of the browser sending the report + +"build" + The build ID + +"product" + The product name + +"channel" + The user's release channel diff --git a/browser/base/content/docs/sslerrorreport/index.rst b/browser/base/content/docs/sslerrorreport/index.rst new file mode 100644 index 000000000..2c4210113 --- /dev/null +++ b/browser/base/content/docs/sslerrorreport/index.rst @@ -0,0 +1,15 @@ +.. _sslerrorreport: + +=================== +SSL Error Reporting +=================== + +With the introduction of HPKP, it becomes useful to be able to capture data +on pin violations. SSL Error Reporting is an opt-in mechanism to allow users +to send data on such violations to mozilla. + +.. toctree:: + :maxdepth: 1 + + dataformat + preferences diff --git a/browser/base/content/docs/sslerrorreport/preferences.rst b/browser/base/content/docs/sslerrorreport/preferences.rst new file mode 100644 index 000000000..ed6f384c2 --- /dev/null +++ b/browser/base/content/docs/sslerrorreport/preferences.rst @@ -0,0 +1,23 @@ +.. _healthreport_preferences: + +=========== +Preferences +=========== + +The following preferences are used by SSL Error reporting: + +"security.ssl.errorReporting.enabled" + Should the SSL Error Reporting UI be shown on pin violations? Default + value: ``true`` + +"security.ssl.errorReporting.url" + Where should SSL error reports be sent? Default value: + ``https://incoming.telemetry.mozilla.org/submit/sslreports/`` + +"security.ssl.errorReporting.automatic" + Should error reports be sent without user interaction. Default value: + ``false``. Note: this pref is overridden by the value of + ``security.ssl.errorReporting.enabled`` + This is only set when specifically requested by the user. The user can set + this value (or unset it) by checking the "Automatically report errors in the + future" checkbox when about:neterror is displayed for SSL Errors. |