1# 2# SSLeay example configuration file. 3# This is mostly being used for generation of certificate requests. 4# 5 6RANDFILE = ./.rnd 7CN2 = Brother 2 8 9#################################################################### 10[ req ] 11default_bits = 2048 12default_keyfile = keySS.pem 13distinguished_name = req_distinguished_name 14encrypt_rsa_key = no 15default_md = sha256 16prompt = no 17 18[ req_distinguished_name ] 19countryName = AU 20organizationName = Dodgy Brothers 210.commonName = Brother 1 221.commonName = $ENV::CN2 23 24[ v3_ee ] 25subjectKeyIdentifier=hash 26authorityKeyIdentifier=keyid,issuer:always 27basicConstraints = CA:false 28keyUsage = nonRepudiation, digitalSignature, keyEncipherment 29 30[ v3_ee_dsa ] 31subjectKeyIdentifier=hash 32authorityKeyIdentifier=keyid:always 33basicConstraints = CA:false 34keyUsage = nonRepudiation, digitalSignature 35 36[ v3_ee_ec ] 37subjectKeyIdentifier=hash 38authorityKeyIdentifier=keyid:always 39basicConstraints = CA:false 40keyUsage = nonRepudiation, digitalSignature, keyAgreement 41 42