shellpki/openssl.cnf

61 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

# VERSION="22.04"
2010-10-06 17:34:30 +02:00
[ ca ]
default_ca = CA_default
[ CA_default ]
2018-01-31 12:43:18 +01:00
dir = /etc/shellpki
2018-01-17 12:21:39 +01:00
certs = $dir/certs
new_certs_dir = $dir/tmp
2010-10-06 17:34:30 +02:00
database = $dir/index.txt
certificate = $dir/cacert.pem
serial = $dir/serial
2018-01-17 12:21:39 +01:00
crl = $dir/crl.pem
2018-01-31 12:43:18 +01:00
private_key = $dir/cakey.key
2010-10-06 17:34:30 +02:00
RANDFILE = $dir/.rand
default_days = 365
default_crl_days= 365
2015-07-22 09:56:04 +02:00
default_md = sha256
2010-10-06 17:34:30 +02:00
preserve = no
policy = policy_match
[ policy_match ]
countryName = supplied
stateOrProvinceName = supplied
organizationName = supplied
organizationalUnitName = optional
commonName = supplied
emailAddress = supplied
[ req ]
2015-07-22 09:56:04 +02:00
default_bits = 2048
2010-10-06 17:34:30 +02:00
distinguished_name = req_distinguished_name
[ v3_ca ]
subjectKeyIdentifier=hash
authorityKeyIdentifier=keyid:always,issuer:always
basicConstraints = CA:true
2018-06-27 12:52:20 +02:00
[ v3_ocsp ]
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
extendedKeyUsage = OCSPSigning
2010-10-06 17:34:30 +02:00
[ 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