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

Unified Diff: net/tools/quic/certs/leaf.cnf

Issue 1330223003: Add scripts for generating certs to be used with the quic_server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add nameConstraints and 3 day expiration Created 5 years, 3 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
Index: net/tools/quic/certs/leaf.cnf
diff --git a/net/tools/quic/certs/leaf.cnf b/net/tools/quic/certs/leaf.cnf
new file mode 100644
index 0000000000000000000000000000000000000000..7a1f098b174c8654a947f72d91b8b8a07e5018cc
--- /dev/null
+++ b/net/tools/quic/certs/leaf.cnf
@@ -0,0 +1,27 @@
+SUBJECT_NAME = req_dn
+KEY_SIZE = 2048
+
+[req]
+default_bits = ${ENV::KEY_SIZE}
+default_md = sha256
+string_mask = utf8only
+prompt = no
+encrypt_key = no
+distinguished_name = ${ENV::SUBJECT_NAME}
+req_extensions = req_extensions
+
+[req_dn]
+C = US
+ST = California
+L = Mountain View
+O = QUIC Server
+CN = 127.0.0.1
+
+[req_extensions]
+subjectAltName = @other_hosts
+
+[other_hosts]
+DNS.1 = www.example.org
+DNS.2 = mail.example.org
+DNS.3 = mail.example.com
+
« net/tools/quic/certs/generate-certs.sh ('K') | « net/tools/quic/certs/generate-certs.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698