mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
433deaffce
The default is openssl.cnf The project seems to prefer xxx.conf these days, but we should use the default convention. Rename all foo.conf (except for Configurations) to foo.cnf Fixes #11174 Reviewed-by: Paul Yang <kaishen.yy@antfin.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11176)
37 lines
890 B
INI
37 lines
890 B
INI
|
|
CN2 = Brother 2
|
|
|
|
####################################################################
|
|
[ req ]
|
|
default_bits = 2048
|
|
default_keyfile = keySS.pem
|
|
distinguished_name = req_distinguished_name
|
|
encrypt_rsa_key = no
|
|
default_md = sha256
|
|
prompt = no
|
|
|
|
[ req_distinguished_name ]
|
|
countryName = AU
|
|
organizationName = Dodgy Brothers
|
|
0.commonName = Brother 1
|
|
1.commonName = $ENV::CN2
|
|
|
|
[ v3_ee ]
|
|
subjectKeyIdentifier=hash
|
|
authorityKeyIdentifier=keyid,issuer:always
|
|
basicConstraints = CA:false
|
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
|
|
|
[ v3_ee_dsa ]
|
|
subjectKeyIdentifier=hash
|
|
authorityKeyIdentifier=keyid:always
|
|
basicConstraints = CA:false
|
|
keyUsage = nonRepudiation, digitalSignature
|
|
|
|
[ v3_ee_ec ]
|
|
subjectKeyIdentifier=hash
|
|
authorityKeyIdentifier=keyid:always
|
|
basicConstraints = CA:false
|
|
keyUsage = nonRepudiation, digitalSignature, keyAgreement
|
|
|