diff options
Diffstat (limited to 'tests/testsuites/x.509/openssl.cnf')
-rw-r--r-- | tests/testsuites/x.509/openssl.cnf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/testsuites/x.509/openssl.cnf b/tests/testsuites/x.509/openssl.cnf new file mode 100644 index 0000000..39eba57 --- /dev/null +++ b/tests/testsuites/x.509/openssl.cnf @@ -0,0 +1,41 @@ +[ ca ] +default_ca = CA_default + +[ CA_default ] +dir = ./ +certs = $dir/certs +crl_dir = $dir/crl +database = $dir/index.txt +new_certs_dir = $dir/newcerts + +certificate = $dir/ca.pem +serial = $dir/serial +crl = $dir/crl.pem +private_key = $dir/ca-key.pem + +x509_extensions = usr_cert +name_opt = ca_default +cert_opt = ca_default +default_days = 36500 +default_md = sha256 + +# How long before next CRL, default is 1 but for testing we need no expire, so 100 years is fine. +default_crl_days = 36500 + +preserve = no +policy = policy_match + +[ policy_match ] +countryName = supplied +stateOrProvinceName = supplied +organizationName = supplied +organizationalUnitName = optional +commonName = supplied +emailAddress = optional + +[ usr_cert ] +basicConstraints=CA:FALSE +nsComment="OpenSSL Generated Certificate" +subjectKeyIdentifier=hash +authorityKeyIdentifier=keyid,issuer + |