Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: net/data/ssl/scripts/ee.cnf

Issue 1988993002: Check self-signed certificate names and signatures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More Windows bugfixes Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 SUBJECT_NAME = req_dn 1 SUBJECT_NAME = req_dn
2 KEY_SIZE = 2048 2 KEY_SIZE = 2048
3 3
4 [req] 4 [req]
5 default_bits = ${ENV::KEY_SIZE} 5 default_bits = ${ENV::KEY_SIZE}
6 default_md = sha256 6 default_md = sha256
7 string_mask = utf8only 7 string_mask = utf8only
8 prompt = no 8 prompt = no
9 encrypt_key = no 9 encrypt_key = no
10 distinguished_name = ${ENV::SUBJECT_NAME} 10 distinguished_name = ${ENV::SUBJECT_NAME}
(...skipping 14 matching lines...) Expand all
25 O = Bar 25 O = Bar
26 CN = Duplicate 26 CN = Duplicate
27 27
28 [req_localhost_cn] 28 [req_localhost_cn]
29 C = US 29 C = US
30 ST = California 30 ST = California
31 L = Mountain View 31 L = Mountain View
32 O = Test CA 32 O = Test CA
33 CN = localhost 33 CN = localhost
34 34
35 [req_self_signed_a]
36 C = US
37 ST = Michigan
38 L = Ann Arbor
svaldez 2016/05/20 17:54:53 I think its standard to use US/California/Mountain
39 O = Test Self-Signed
40 CN = SS A
41
42 [req_self_signed_b]
43 C = US
44 ST = Michigan
45 L = Ann Arbor
46 O = Test Self-Signed
47 CN = SS B
48
35 [req_punycode_dn] 49 [req_punycode_dn]
36 CN = xn--wgv71a119e.com 50 CN = xn--wgv71a119e.com
37 51
38 [req_extensions] 52 [req_extensions]
39 subjectAltName = IP:127.0.0.1 53 subjectAltName = IP:127.0.0.1
40 54
41 [req_localhost_san] 55 [req_localhost_san]
42 subjectAltName = DNS:localhost 56 subjectAltName = DNS:localhost
43 57
44 [req_punycode] 58 [req_punycode]
(...skipping 26 matching lines...) Expand all
71 DNS.2 = mail.example.org 85 DNS.2 = mail.example.org
72 DNS.3 = mail.example.com 86 DNS.3 = mail.example.com
73 87
74 [punycode_san] 88 [punycode_san]
75 DNS.1 = xn--wgv71a119e.com 89 DNS.1 = xn--wgv71a119e.com
76 DNS.2 = *.xn--wgv71a119e.com 90 DNS.2 = *.xn--wgv71a119e.com
77 DNS.3 = blahblahblahblah.com 91 DNS.3 = blahblahblahblah.com
78 92
79 [wildcard] 93 [wildcard]
80 DNS.1 = *.example.org 94 DNS.1 = *.example.org
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698