1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
# SSLeay example configuration file.
|
|
|
|
# This is mostly being used for generation of certificate requests.
|
|
|
|
#
|
|
|
|
|
|
|
|
RANDFILE = ./.rnd
|
2015-08-26 11:20:32 +00:00
|
|
|
CN2 = Brother 2
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
####################################################################
|
|
|
|
[ req ]
|
2015-04-20 11:23:04 +00:00
|
|
|
default_bits = 2048
|
1998-12-21 10:52:47 +00:00
|
|
|
default_keyfile = keySS.pem
|
|
|
|
distinguished_name = req_distinguished_name
|
|
|
|
encrypt_rsa_key = no
|
2015-08-26 11:20:32 +00:00
|
|
|
default_md = sha256
|
|
|
|
prompt = no
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
[ req_distinguished_name ]
|
2015-08-26 11:20:32 +00:00
|
|
|
countryName = AU
|
|
|
|
organizationName = Dodgy Brothers
|
|
|
|
0.commonName = Brother 1
|
|
|
|
1.commonName = $ENV::CN2
|
2004-12-28 00:21:35 +00:00
|
|
|
|
|
|
|
[ v3_ee ]
|
|
|
|
subjectKeyIdentifier=hash
|
|
|
|
authorityKeyIdentifier=keyid,issuer:always
|
|
|
|
basicConstraints = CA:false
|
|
|
|
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
|
2015-08-26 11:20:32 +00:00
|
|
|
|
|
|
|
[ 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
|
2004-12-28 00:21:35 +00:00
|
|
|
|