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

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

Issue 2735733003: Disable commonName matching for certificates (Closed)
Patch Set: Created 3 years, 9 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/scripts/generate-test-certs.sh ('k') | net/data/ssl/scripts/redundant-ca.cnf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/data/ssl/scripts/policy.cnf
diff --git a/net/data/ssl/scripts/policy.cnf b/net/data/ssl/scripts/policy.cnf
index 12af8283b73b4ef23b4f1dc46de5e024ce92194d..dbb2efabf08a6e1380d688b1f3d1734012687ce3 100644
--- a/net/data/ssl/scripts/policy.cnf
+++ b/net/data/ssl/scripts/policy.cnf
@@ -1,5 +1,6 @@
CA_DIR=out
CA_NAME=policy-root
+SAN=policy_test.example
[ca]
default_ca = CA_root
@@ -26,6 +27,7 @@ copy_extensions = copy
basicConstraints = critical, CA:false
extendedKeyUsage = serverAuth, clientAuth
certificatePolicies = 1.2.3.4
+subjectAltName = DNS:${ENV::SAN}
[ca_cert]
basicConstraints = critical, CA:true
« no previous file with comments | « net/data/ssl/scripts/generate-test-certs.sh ('k') | net/data/ssl/scripts/redundant-ca.cnf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698