| 1 |
[ ca ] |
| 2 |
default_ca = myca |
| 3 |
|
| 4 |
[ crl_ext ] |
| 5 |
issuerAltName=issuer:copy |
| 6 |
authorityKeyIdentifier=keyid:always |
| 7 |
|
| 8 |
[ myca ] |
| 9 |
dir = @abs_srcdir@ |
| 10 |
new_certs_dir = ./ |
| 11 |
unique_subject = no |
| 12 |
certificate = $dir/test-ca-cert.pem |
| 13 |
database = certindex |
| 14 |
private_key = $dir/test-ca-key.pem |
| 15 |
serial = certserial |
| 16 |
default_days = 730 |
| 17 |
default_md = sha1 |
| 18 |
policy = myca_policy |
| 19 |
x509_extensions = myca_extensions |
| 20 |
crlnumber = crlnumber |
| 21 |
default_crl_days = 730 |
| 22 |
|
| 23 |
[ myca_policy ] |
| 24 |
commonName = supplied |
| 25 |
stateOrProvinceName = supplied |
| 26 |
countryName = optional |
| 27 |
emailAddress = optional |
| 28 |
organizationName = supplied |
| 29 |
organizationalUnitName = optional |
| 30 |
|
| 31 |
[ myca_extensions ] |
| 32 |
basicConstraints = critical,CA:TRUE |
| 33 |
keyUsage = critical,any |
| 34 |
subjectKeyIdentifier = hash |
| 35 |
authorityKeyIdentifier = keyid:always,issuer |
| 36 |
keyUsage = digitalSignature,keyEncipherment,cRLSign,keyCertSign |
| 37 |
extendedKeyUsage = serverAuth |
| 38 |
crlDistributionPoints = @crl_section |
| 39 |
subjectAltName = @alt_names |
| 40 |
authorityInfoAccess = @ocsp_section |
| 41 |
|
| 42 |
[ v3_ca ] |
| 43 |
basicConstraints = critical,CA:TRUE,pathlen:0 |
| 44 |
keyUsage = critical,any |
| 45 |
subjectKeyIdentifier = hash |
| 46 |
authorityKeyIdentifier = keyid:always,issuer |
| 47 |
keyUsage = digitalSignature,keyEncipherment,cRLSign,keyCertSign |
| 48 |
extendedKeyUsage = serverAuth |
| 49 |
crlDistributionPoints = @crl_section |
| 50 |
subjectAltName = @alt_names |
| 51 |
authorityInfoAccess = @ocsp_section |
| 52 |
|
| 53 |
[alt_names] |
| 54 |
DNS.0 = WgetTestingServer |
| 55 |
|
| 56 |
[crl_section] |
| 57 |
URI.0 = http://test.wgettest.org/Bogus.crl |
| 58 |
URI.1 = http://test.wgettest.org/Bogus.crl |
| 59 |
|
| 60 |
[ocsp_section] |
| 61 |
caIssuers;URI.0 = http://test.wgettest.com/Bogus.crt |
| 62 |
caIssuers;URI.1 = http://test.wgettest.com/Bogus.crt |
| 63 |
OCSP;URI.0 = http://test.wgettest.com/ocsp/ |
| 64 |
OCSP;URI.1 = http://test.wgettest.com/ocsp/ |