Gilles Peskine | f040a17 | 2017-05-05 18:56:12 +0200 | [diff] [blame] | 1 | [req] |
| 2 | x509_extensions = v3_ca |
| 3 | distinguished_name = req_dn |
| 4 | |
| 5 | [req_dn] |
| 6 | countryName = NL |
| 7 | organizationalUnitName = PolarSSL |
| 8 | commonName = PolarSSL Test CA |
| 9 | |
| 10 | [v3_ca] |
| 11 | subjectKeyIdentifier=hash |
| 12 | authorityKeyIdentifier=keyid:always,issuer:always |
| 13 | basicConstraints = CA:true |
Manuel Pégourié-Gonnard | c10afdb | 2017-06-29 09:48:08 +0200 | [diff] [blame] | 14 | |
Ron Eldor | b2dc3fa | 2019-03-21 13:40:13 +0200 | [diff] [blame] | 15 | [othername_san] |
| 16 | subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:hw_module_name |
| 17 | |
| 18 | [unsupoported_othername_san] |
| 19 | subjectAltName=otherName:1.2.3.4;UTF8:some other identifier |
| 20 | |
Ron Eldor | 9eeb861 | 2019-02-12 15:03:42 +0200 | [diff] [blame] | 21 | [dns_alt_names] |
| 22 | subjectAltName=DNS:example.com, DNS:example.net, DNS:*.example.org |
| 23 | |
Ron Eldor | b2dc3fa | 2019-03-21 13:40:13 +0200 | [diff] [blame] | 24 | [alt_names] |
| 25 | DNS.1=example.com |
| 26 | otherName.1=1.3.6.1.5.5.7.8.4;SEQ:hw_module_name |
| 27 | DNS.2=example.net |
| 28 | DNS.3=*.example.org |
| 29 | |
| 30 | [multiple_san] |
| 31 | subjectAltName=@alt_names |
| 32 | |
| 33 | [hw_module_name] |
| 34 | hwtype = OID:1.3.6.1.4.1.17.3 |
| 35 | hwserial = OCT:123456 |
| 36 | |
Ron Eldor | 74d9acc | 2019-03-21 14:00:03 +0200 | [diff] [blame] | 37 | [v3_any_policy_ca] |
| 38 | basicConstraints = CA:true |
| 39 | certificatePolicies = 2.5.29.32.0 |
| 40 | |
| 41 | [v3_any_policy_qualifier_ca] |
| 42 | basicConstraints = CA:true |
| 43 | certificatePolicies = @policy_info |
| 44 | |
| 45 | [v3_multi_policy_ca] |
| 46 | basicConstraints = CA:true |
| 47 | certificatePolicies = 1.2.3.4,2.5.29.32.0 |
| 48 | |
| 49 | [v3_unsupported_policy_ca] |
| 50 | basicConstraints = CA:true |
| 51 | certificatePolicies = 1.2.3.4 |
| 52 | |
| 53 | [policy_info] |
| 54 | policyIdentifier = 2.5.29.32.0 |
| 55 | CPS.1 ="CPS uri string" |
| 56 | |
Ron Eldor | 3c4734a | 2019-03-25 14:05:23 +0200 | [diff] [blame] | 57 | [fan_cert] |
| 58 | extendedKeyUsage = 1.3.6.1.4.1.45605.1 |
| 59 | |
Manuel Pégourié-Gonnard | c10afdb | 2017-06-29 09:48:08 +0200 | [diff] [blame] | 60 | [noext_ca] |
| 61 | basicConstraints = CA:true |
Gilles Peskine | 15ad579 | 2018-03-22 22:21:55 +0100 | [diff] [blame] | 62 | |
Manuel Pégourié-Gonnard | fd3e4fb | 2018-03-13 11:53:30 +0100 | [diff] [blame] | 63 | [test_ca] |
| 64 | database = /dev/null |
| 65 | |
| 66 | [crl_ext_idp] |
| 67 | issuingDistributionPoint=critical, @idpdata |
| 68 | |
Manuel Pégourié-Gonnard | a63305d | 2018-03-14 12:23:56 +0100 | [diff] [blame] | 69 | [crl_ext_idp_nc] |
| 70 | issuingDistributionPoint=@idpdata |
| 71 | |
Manuel Pégourié-Gonnard | fd3e4fb | 2018-03-13 11:53:30 +0100 | [diff] [blame] | 72 | [idpdata] |
| 73 | fullname=URI:http://pki.example.com/ |
Manuel Pégourié-Gonnard | 7d2a4d8 | 2020-07-23 12:39:53 +0200 | [diff] [blame] | 74 | |
| 75 | # these IPs are the ascii values for 'abcd' and 'abcd.example.com' |
| 76 | [tricky_ip_san] |
| 77 | subjectAltName=IP:97.98.99.100,IP:6162:6364:2e65:7861:6d70:6c65:2e63:6f6d |