Payload Format

An example report:

  "userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0",

Where the data represents the following:

The name of the host the connection was being made to.
The TCP port the connection was being made to.
The (local) time at which the report was generated. Seconds since 1 Jan 1970, UTC.
The error code. This is the error code from certificate verification. Here’s a small list of the most commonly-encountered errors: 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).
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
The build ID
The product name
The user’s release channel