diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:20 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-03-05 10:08:20 +0900 |
commit | afd456999b076e5e6505dd5ca6942a5e7471c70c (patch) | |
tree | 9ee11bda8c1d6ada1938b0324ed01a2d99e99178 /tests/certs/interca.conf.in | |
parent | 429760a22c7e2ff8a2de69744b04aa4b2f202119 (diff) | |
download | wget-afd456999b076e5e6505dd5ca6942a5e7471c70c.tar.gz wget-afd456999b076e5e6505dd5ca6942a5e7471c70c.tar.bz2 wget-afd456999b076e5e6505dd5ca6942a5e7471c70c.zip |
Imported Upstream version 1.19.2upstream/1.19.2
Diffstat (limited to 'tests/certs/interca.conf.in')
-rw-r--r-- | tests/certs/interca.conf.in | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/certs/interca.conf.in b/tests/certs/interca.conf.in new file mode 100644 index 0000000..5bf28fd --- /dev/null +++ b/tests/certs/interca.conf.in @@ -0,0 +1,64 @@ +[ ca ] +default_ca = myca + +[ crl_ext ] +issuerAltName=issuer:copy +authorityKeyIdentifier=keyid:always + + [ myca ] + dir = @abs_srcdir@ + new_certs_dir = ./ + unique_subject = no + certificate = interca.crt + database = certindex + private_key = interca.key + serial = certserial + default_days = 730 + default_md = sha1 + policy = myca_policy + x509_extensions = myca_extensions + crlnumber = crlnumber + default_crl_days = 730 + + [ myca_policy ] + commonName = supplied + stateOrProvinceName = supplied + countryName = optional + emailAddress = optional + organizationName = supplied + organizationalUnitName = optional + + [ myca_extensions ] + basicConstraints = critical,CA:TRUE + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [ v3_ca ] + basicConstraints = critical,CA:TRUE,pathlen:0 + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [alt_names] + DNS.0 = WgetTestingServer + + [crl_section] + URI.0 = http://intertest.wgettest.org/Bogus.crl + URI.1 = http://intertest.wgettest.org/Bogus.crl + + [ocsp_section] + caIssuers;URI.0 = http://intertest.wgettest.com/Bogus.crt + caIssuers;URI.1 = http://intertest.wgettest.com/Bogus.crt + OCSP;URI.0 = http://intertest.wgettest.com/ocsp/ + OCSP;URI.1 = http://intertest.wgettest.com/ocsp/ |