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