From dcc721a95bef6f0d8e6d8775b8efe33e5aecd562 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 18:28:20 +0200 Subject: Adding upstream version 8.2402.0. Signed-off-by: Daniel Baumann --- tests/testsuites/x.509/openssl.cnf | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tests/testsuites/x.509/openssl.cnf (limited to 'tests/testsuites/x.509/openssl.cnf') 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 + -- cgit v1.2.3