summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/CA/root.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/CA/root.cnf')
-rw-r--r--src/regress/lib/libcrypto/CA/root.cnf18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/CA/root.cnf b/src/regress/lib/libcrypto/CA/root.cnf
index 506542e943..30a442f136 100644
--- a/src/regress/lib/libcrypto/CA/root.cnf
+++ b/src/regress/lib/libcrypto/CA/root.cnf
@@ -1,4 +1,4 @@
1# $OpenBSD: root.cnf,v 1.3 2020/12/26 00:48:56 bluhm Exp $ 1# $OpenBSD: root.cnf,v 1.4 2022/03/14 21:30:48 tb Exp $
2# For regression tests 2# For regression tests
3default_ca = CA_regress 3default_ca = CA_regress
4 4
@@ -95,6 +95,22 @@ subjectKeyIdentifier = hash
95authorityKeyIdentifier = keyid:always,issuer 95authorityKeyIdentifier = keyid:always,issuer
96basicConstraints = critical, CA:true, pathlen:0 96basicConstraints = critical, CA:true, pathlen:0
97keyUsage = critical, digitalSignature, cRLSign, keyCertSign 97keyUsage = critical, digitalSignature, cRLSign, keyCertSign
98nameConstraints = critical, @ca_name_constraints
99
100[ ca_name_constraints ]
101permitted;DNS.0 = .openbsd.org
102permitted;DNS.1 = client
103permitted;email.0 = openbsd.org
104permitted;email.1 = @test.openbsd.org
105permitted;URI.0 = .openbsd.org
106permitted;dirName.0 = openbsd_dn
107permitted;otherName.0 = 1.3.6.1.4.1.311.20.2.3;UTF8:@openbsd.org
108excluded;IP.0 = 0.0.0.0/0.0.0.0
109excluded;IP.1 = 0:0:0:0:0:0:0:0/0:0:0:0:0:0:0:0
110
111[ openbsd_dn ]
112C = CA
113O = OpenBSD
98 114
99[ usr_cert ] 115[ usr_cert ]
100# Extensions for client certificates (`man x509v3_config`). 116# Extensions for client certificates (`man x509v3_config`).