summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-24 08:14:15 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-24 08:14:15 +0000
commitcc33eb7dcbe80a9dce2ff37f120ed0f2af0cce33 (patch)
treea788b7207db37b3d4fa33e08eb760f27340b6d58 /tools
parenta865dc529c26d3f52acbded65ebd7ba8e3ab747d (diff)
downloadchromium_src-cc33eb7dcbe80a9dce2ff37f120ed0f2af0cce33.zip
chromium_src-cc33eb7dcbe80a9dce2ff37f120ed0f2af0cce33.tar.gz
chromium_src-cc33eb7dcbe80a9dce2ff37f120ed0f2af0cce33.tar.bz2
Add a histogram for measuring the number of times we fall back to common name matching, when a certificate lacks a subjectAltName
BUG=308330 Review URL: https://codereview.chromium.org/27624002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index bd22abe..c0998a7 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6810,6 +6810,25 @@ other types of suffix sets.
<summary>The time to generate an NTLM HTTP authentication token.</summary>
</histogram>
+<histogram name="Net.CertCommonNameFallback" enum="BooleanCommonNameMatch">
+ <summary>
+ Whether the certificate common name was used for matching the hostname,
+ instead of the subjectAlternativeName.
+
+ Measures results for all CAs (internal and publicly-trusted).
+ </summary>
+</histogram>
+
+<histogram name="Net.CertCommonNameFallbackPrivateCA"
+ enum="BooleanCommonNameMatch">
+ <summary>
+ Whether the certificate common name was used for matching the hostname,
+ instead of the subjectAlternativeName.
+
+ Measures results ony for internal (non-publicly-trusted) CAs.
+ </summary>
+</histogram>
+
<histogram name="Net.CertificatePinSuccess" enum="BooleanSuccess">
<obsolete>
Renamed to Net.PublicKeyPinSuccess 28 Oct 2011.
@@ -20087,6 +20106,11 @@ other types of suffix sets.
<int value="1" label="Attempted"/>
</enum>
+<enum name="BooleanCommonNameMatch" type="int">
+ <int value="0" label="subjectAltName used"/>
+ <int value="1" label="Common Name used"/>
+</enum>
+
<enum name="BooleanCorrupt" type="int">
<int value="0" label="Not Corrupt"/>
<int value="1" label="Corrupt"/>