2017-05-05 18:56:12 +02:00
|
|
|
[req]
|
|
|
|
x509_extensions = v3_ca
|
|
|
|
distinguished_name = req_dn
|
|
|
|
|
|
|
|
[req_dn]
|
|
|
|
countryName = NL
|
|
|
|
organizationalUnitName = PolarSSL
|
|
|
|
commonName = PolarSSL Test CA
|
|
|
|
|
|
|
|
[v3_ca]
|
|
|
|
subjectKeyIdentifier=hash
|
|
|
|
authorityKeyIdentifier=keyid:always,issuer:always
|
|
|
|
basicConstraints = CA:true
|
2017-06-29 09:48:08 +02:00
|
|
|
|
2023-05-25 03:24:17 +02:00
|
|
|
[no_subj_auth_id]
|
|
|
|
subjectKeyIdentifier=none
|
|
|
|
authorityKeyIdentifier=none
|
|
|
|
basicConstraints = CA:true
|
|
|
|
|
2019-03-21 12:40:13 +01:00
|
|
|
[othername_san]
|
|
|
|
subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:hw_module_name
|
|
|
|
|
2022-09-29 16:40:20 +02:00
|
|
|
[nonprintable_othername_san]
|
|
|
|
subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:nonprintable_hw_module_name
|
|
|
|
|
2022-11-25 16:50:30 +01:00
|
|
|
[unsupported_othername_san]
|
2019-03-21 12:40:13 +01:00
|
|
|
subjectAltName=otherName:1.2.3.4;UTF8:some other identifier
|
|
|
|
|
2019-02-12 14:03:42 +01:00
|
|
|
[dns_alt_names]
|
|
|
|
subjectAltName=DNS:example.com, DNS:example.net, DNS:*.example.org
|
|
|
|
|
2023-02-09 14:47:50 +01:00
|
|
|
[rfc822name_names]
|
|
|
|
subjectAltName=email:my@other.address,email:second@other.address
|
|
|
|
|
2019-03-21 12:40:13 +01:00
|
|
|
[alt_names]
|
|
|
|
DNS.1=example.com
|
|
|
|
otherName.1=1.3.6.1.5.5.7.8.4;SEQ:hw_module_name
|
|
|
|
DNS.2=example.net
|
|
|
|
DNS.3=*.example.org
|
|
|
|
|
|
|
|
[multiple_san]
|
|
|
|
subjectAltName=@alt_names
|
|
|
|
|
2023-05-18 04:10:39 +02:00
|
|
|
[ext_multi_nocn]
|
|
|
|
basicConstraints = CA:false
|
|
|
|
keyUsage = digitalSignature, nonRepudiation, keyEncipherment
|
|
|
|
subjectAltName = DNS:www.shotokan-braunschweig.de,DNS:www.massimo-abate.eu,IP:192.168.1.1,IP:192.168.69.144
|
|
|
|
|
2019-03-21 12:40:13 +01:00
|
|
|
[hw_module_name]
|
|
|
|
hwtype = OID:1.3.6.1.4.1.17.3
|
|
|
|
hwserial = OCT:123456
|
|
|
|
|
2022-09-29 16:40:20 +02:00
|
|
|
[nonprintable_hw_module_name]
|
|
|
|
hwtype = OID:1.3.6.1.4.1.17.3
|
|
|
|
hwserial = FORMAT:HEX, OCT:3132338081008180333231
|
|
|
|
|
2019-03-21 13:00:03 +01:00
|
|
|
[v3_any_policy_ca]
|
|
|
|
basicConstraints = CA:true
|
|
|
|
certificatePolicies = 2.5.29.32.0
|
|
|
|
|
|
|
|
[v3_any_policy_qualifier_ca]
|
|
|
|
basicConstraints = CA:true
|
|
|
|
certificatePolicies = @policy_info
|
|
|
|
|
|
|
|
[v3_multi_policy_ca]
|
|
|
|
basicConstraints = CA:true
|
|
|
|
certificatePolicies = 1.2.3.4,2.5.29.32.0
|
|
|
|
|
|
|
|
[v3_unsupported_policy_ca]
|
|
|
|
basicConstraints = CA:true
|
|
|
|
certificatePolicies = 1.2.3.4
|
|
|
|
|
|
|
|
[policy_info]
|
|
|
|
policyIdentifier = 2.5.29.32.0
|
|
|
|
CPS.1 ="CPS uri string"
|
|
|
|
|
2019-03-25 13:05:23 +01:00
|
|
|
[fan_cert]
|
|
|
|
extendedKeyUsage = 1.3.6.1.4.1.45605.1
|
|
|
|
|
2017-06-29 09:48:08 +02:00
|
|
|
[noext_ca]
|
|
|
|
basicConstraints = CA:true
|
2018-03-22 22:21:55 +01:00
|
|
|
|
2018-03-13 11:53:30 +01:00
|
|
|
[test_ca]
|
|
|
|
database = /dev/null
|
|
|
|
|
|
|
|
[crl_ext_idp]
|
|
|
|
issuingDistributionPoint=critical, @idpdata
|
|
|
|
|
2018-03-14 12:23:56 +01:00
|
|
|
[crl_ext_idp_nc]
|
|
|
|
issuingDistributionPoint=@idpdata
|
|
|
|
|
2018-03-13 11:53:30 +01:00
|
|
|
[idpdata]
|
|
|
|
fullname=URI:http://pki.example.com/
|
2020-07-23 12:39:53 +02:00
|
|
|
|
|
|
|
# these IPs are the ascii values for 'abcd' and 'abcd.example.com'
|
|
|
|
[tricky_ip_san]
|
|
|
|
subjectAltName=IP:97.98.99.100,IP:6162:6364:2e65:7861:6d70:6c65:2e63:6f6d
|
2023-01-12 15:30:45 +01:00
|
|
|
|
|
|
|
[csr_ext_v3_keyUsage]
|
|
|
|
keyUsage = digitalSignature, keyEncipherment
|
|
|
|
|
|
|
|
[csr_ext_v3_subjectAltName]
|
|
|
|
subjectAltName=DNS:example.com, DNS:example.net, DNS:*.example.org
|
|
|
|
|
|
|
|
[csr_ext_v3_nsCertType]
|
|
|
|
nsCertType=server
|
|
|
|
|
|
|
|
[csr_ext_v3_all]
|
|
|
|
keyUsage = cRLSign
|
|
|
|
subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:nonprintable_hw_module_name
|
|
|
|
nsCertType=client
|
2023-01-10 12:47:38 +01:00
|
|
|
|
|
|
|
[directory_name_san]
|
|
|
|
subjectAltName=dirName:dirname_sect
|
|
|
|
|
2023-06-28 10:58:19 +02:00
|
|
|
[two_directorynames]
|
|
|
|
subjectAltName=dirName:dirname_sect, dirName:dirname_to_malform
|
2023-01-12 12:51:20 +01:00
|
|
|
|
2023-01-10 12:47:38 +01:00
|
|
|
[dirname_sect]
|
|
|
|
C=UK
|
|
|
|
O=Mbed TLS
|
|
|
|
CN=Mbed TLS directoryName SAN
|
2023-01-12 12:51:20 +01:00
|
|
|
|
2023-06-28 10:58:19 +02:00
|
|
|
[dirname_to_malform]
|
2023-01-12 12:51:20 +01:00
|
|
|
O=MALFORM_ME
|