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 |