| OLD | NEW |
| 1 SUBJECT_NAME = req_dn |
| 2 KEY_SIZE = 2048 |
| 3 |
| 1 [req] | 4 [req] |
| 2 default_bits = $ENV::KEY_SIZE | 5 default_bits = ${ENV::KEY_SIZE} |
| 3 default_md = sha1 | 6 default_md = sha1 |
| 4 string_mask = utf8only | 7 string_mask = utf8only |
| 5 prompt = no | 8 prompt = no |
| 6 encrypt_key = no | 9 encrypt_key = no |
| 7 distinguished_name = req_dn | 10 distinguished_name = ${ENV::SUBJECT_NAME} |
| 8 req_extensions = req_extensions | 11 req_extensions = req_extensions |
| 9 | 12 |
| 10 [req_dn] | 13 [req_dn] |
| 11 C = US | 14 C = US |
| 12 ST = California | 15 ST = California |
| 13 L = Mountain View | 16 L = Mountain View |
| 14 O = Test CA | 17 O = Test CA |
| 15 CN = 127.0.0.1 | 18 CN = 127.0.0.1 |
| 16 | 19 |
| 20 [req_duplicate_cn_1] |
| 21 O = Foo |
| 22 CN = Duplicate |
| 23 |
| 24 [req_duplicate_cn_2] |
| 25 O = Bar |
| 26 CN = Duplicate |
| 27 |
| 17 [req_extensions] | 28 [req_extensions] |
| 18 subjectAltName = IP:127.0.0.1 | 29 subjectAltName = IP:127.0.0.1 |
| 19 | 30 |
| 20 [req_san_sanity] | 31 [req_san_sanity] |
| 21 subjectAltName = @san_sanity | 32 subjectAltName = @san_sanity |
| 22 | 33 |
| 23 [san_sanity] | 34 [san_sanity] |
| 24 IP.1 = 127.0.0.2 | 35 IP.1 = 127.0.0.2 |
| 25 IP.2 = FE80::1 | 36 IP.2 = FE80::1 |
| 26 DNS = test.example | 37 DNS = test.example |
| 27 email = test@test.example | 38 email = test@test.example |
| 28 otherName = 1.2.3.4;UTF8:ignore me | 39 otherName = 1.2.3.4;UTF8:ignore me |
| 29 dirName = more_san_sanity | 40 dirName = more_san_sanity |
| 30 | 41 |
| 31 [req_spdy_pooling] | 42 [req_spdy_pooling] |
| 32 subjectAltName = @spdy_pooling | 43 subjectAltName = @spdy_pooling |
| 33 | 44 |
| 34 [more_san_sanity] | 45 [more_san_sanity] |
| 35 CN=127.0.0.3 | 46 CN=127.0.0.3 |
| 36 | 47 |
| 37 [spdy_pooling] | 48 [spdy_pooling] |
| 38 DNS.1 = www.example.org | 49 DNS.1 = www.example.org |
| 39 DNS.2 = mail.example.org | 50 DNS.2 = mail.example.org |
| 40 DNS.3 = mail.example.com | 51 DNS.3 = mail.example.com |
| OLD | NEW |