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

Unified Diff: net/data/ssl/scripts/ee.cnf

Issue 15315003: Generate unique certificate nicknames on Linux/CrOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _NE -> _STRNE Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/data/ssl/certificates/duplicate_cn_2.pem ('k') | net/data/ssl/scripts/generate-duplicate-cn-certs.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/ssl/scripts/ee.cnf
diff --git a/net/data/ssl/scripts/ee.cnf b/net/data/ssl/scripts/ee.cnf
index a24b17f72dc8173615c79d13564e0ba1013c0d53..ad786c80ca816b429a3cd3389479f4a13c6e66b8 100644
--- a/net/data/ssl/scripts/ee.cnf
+++ b/net/data/ssl/scripts/ee.cnf
@@ -1,10 +1,13 @@
+SUBJECT_NAME = req_dn
+KEY_SIZE = 2048
+
[req]
-default_bits = $ENV::KEY_SIZE
+default_bits = ${ENV::KEY_SIZE}
default_md = sha1
string_mask = utf8only
prompt = no
encrypt_key = no
-distinguished_name = req_dn
+distinguished_name = ${ENV::SUBJECT_NAME}
req_extensions = req_extensions
[req_dn]
@@ -14,6 +17,14 @@ L = Mountain View
O = Test CA
CN = 127.0.0.1
+[req_duplicate_cn_1]
+O = Foo
+CN = Duplicate
+
+[req_duplicate_cn_2]
+O = Bar
+CN = Duplicate
+
[req_extensions]
subjectAltName = IP:127.0.0.1
« no previous file with comments | « net/data/ssl/certificates/duplicate_cn_2.pem ('k') | net/data/ssl/scripts/generate-duplicate-cn-certs.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698