meerkat-java/classes/test/meerkat-common/certs/intermediate-ca-1/openssl-intermediate-ca.conf

47 lines
1.1 KiB
Plaintext

[ ca ]
default_ca = myca
[ crl_ext ]
issuerAltName=issuer:copy
authorityKeyIdentifier=keyid:always
[ myca ]
dir = ./
new_certs_dir = $dir
unique_subject = no
certificate = $dir/intermediate-ca-1.crt
database = $dir/certindex
private_key = $dir/intermediate-ca-1-private-key.pem
serial = $dir/certserial
default_days = 3650
default_md = sha256
policy = myca_policy
x509_extensions = myca_extensions
crlnumber = $dir/crlnumber
default_crl_days = 3650
[ myca_policy ]
commonName = supplied
stateOrProvinceName = optional
countryName = optional
emailAddress = optional
organizationName = supplied
organizationalUnitName = optional
[ myca_extensions ]
basicConstraints = critical,CA:FALSE
keyUsage = critical,any
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid:always,issuer
keyUsage = digitalSignature,keyEncipherment
extendedKeyUsage = serverAuth
crlDistributionPoints = @crl_section
authorityInfoAccess = @ocsp_section
[crl_section]
URI.0 = http://crl.factcenter.org/meerkat-intermediate1.crl
[ocsp_section]
caIssuers;URI.0 = http://pki.factcenter.org/meerkat-intermediate-ca.crt
OCSP;URI.0 = http://ocsp.factcenter.org/