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

Unified Diff: net/data/ssl/certificates/openssl_cert.cnf

Issue 5535006: Add unittests for net::TestRootCerts and regenerate test certificates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address wtc feedback Created 10 years 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/data/ssl/certificates/openssl_cert.cnf
diff --git a/net/data/ssl/certificates/openssl_cert.cnf b/net/data/ssl/certificates/openssl_cert.cnf
new file mode 100644
index 0000000000000000000000000000000000000000..f6a5b8b179b5f29c63bd95f2cd982083449196be
--- /dev/null
+++ b/net/data/ssl/certificates/openssl_cert.cnf
@@ -0,0 +1,23 @@
+# The default configuration to use when requesting a certificate to be used
+# as the server test certificate, whether OK or expired.
+[req]
+# Common configuration for all requests
+default_bits = 1024
+default_md = sha1
+string_mask = utf8only
+prompt = no
+encrypt_key = no
+distinguished_name = req_dn
+req_extensions = req_extensions
+
+[req_dn]
+C = US
+ST = California
+L = Mountain View
+O = Test CA
+# TODO(wtc): Deprecate de facto, but not de jure, matching of iPAddress in
wtc 2010/12/08 19:58:22 Are you sure? I think we can put CN = Test Serv
Ryan Sleevi 2010/12/09 05:49:55 I've updated the comment to reflect the two open b
+# the commonName field
+CN = 127.0.0.1
+
+[req_extensions]
+subjectAltName = IP:127.0.0.1

Powered by Google App Engine
This is Rietveld 408576698