60 lines
1.8 KiB
INI
60 lines
1.8 KiB
INI
# VERSION="22.04"
|
|
|
|
[ ca ]
|
|
default_ca = CA_default
|
|
|
|
[ CA_default ]
|
|
dir = /etc/shellpki
|
|
certs = $dir/certs
|
|
new_certs_dir = $dir/tmp
|
|
database = $dir/index.txt
|
|
certificate = $dir/cacert.pem
|
|
serial = $dir/serial
|
|
crl = $dir/crl.pem
|
|
private_key = $dir/cakey.key
|
|
RANDFILE = $dir/.rand
|
|
default_days = 365
|
|
default_crl_days= 730
|
|
default_md = sha256
|
|
preserve = no
|
|
policy = policy_match
|
|
|
|
[ policy_match ]
|
|
countryName = supplied
|
|
stateOrProvinceName = supplied
|
|
organizationName = supplied
|
|
organizationalUnitName = optional
|
|
commonName = supplied
|
|
emailAddress = supplied
|
|
|
|
[ req ]
|
|
default_bits = 2048
|
|
distinguished_name = req_distinguished_name
|
|
|
|
[ v3_ca ]
|
|
subjectKeyIdentifier=hash
|
|
authorityKeyIdentifier=keyid:always,issuer:always
|
|
basicConstraints = CA:true
|
|
|
|
[ v3_ocsp ]
|
|
basicConstraints = CA:FALSE
|
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
|
extendedKeyUsage = OCSPSigning
|
|
|
|
[ req_distinguished_name ]
|
|
countryName = Country Name (2 letter code)
|
|
countryName_default = FR
|
|
countryName_min = 2
|
|
countryName_max = 2
|
|
stateOrProvinceName = State or Province
|
|
stateOrProvinceName_default = 13
|
|
localityName = Locality Name (eg, city)
|
|
localityName_default = Marseille
|
|
0.organizationName = Organization Name (eg, company)
|
|
0.organizationName_default = Evolix
|
|
organizationalUnitName = Organizational Unit Name (eg, section)
|
|
commonName = Common Name (eg, your name or your server\'s hostname)
|
|
commonName_max = 64
|
|
emailAddress = Email Address
|
|
emailAddress_default = security@evolix.net
|
|
emailAddress_max = 40
|