aboutsummaryrefslogtreecommitdiff
path: root/externals/mbedtls/tests/data_files/test-ca.opensslconf
diff options
context:
space:
mode:
Diffstat (limited to 'externals/mbedtls/tests/data_files/test-ca.opensslconf')
-rw-r--r--externals/mbedtls/tests/data_files/test-ca.opensslconf32
1 files changed, 32 insertions, 0 deletions
diff --git a/externals/mbedtls/tests/data_files/test-ca.opensslconf b/externals/mbedtls/tests/data_files/test-ca.opensslconf
new file mode 100644
index 0000000000..3f8d8f5589
--- /dev/null
+++ b/externals/mbedtls/tests/data_files/test-ca.opensslconf
@@ -0,0 +1,32 @@
+[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
+
+[noext_ca]
+basicConstraints = CA:true
+
+[test_ca]
+database = /dev/null
+
+[crl_ext_idp]
+issuingDistributionPoint=critical, @idpdata
+
+[crl_ext_idp_nc]
+issuingDistributionPoint=@idpdata
+
+[idpdata]
+fullname=URI:http://pki.example.com/
+
+# 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