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 | |
Pengyu Lv | fe50030 | 2023-05-25 09:24:17 +0800 | [diff] [blame] | 15 | [no_subj_auth_id] |
| 16 | subjectKeyIdentifier=none |
| 17 | authorityKeyIdentifier=none |
| 18 | basicConstraints = CA:true |
| 19 | |
Ron Eldor | b2dc3fa | 2019-03-21 13:40:13 +0200 | [diff] [blame] | 20 | [othername_san] |
| 21 | subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:hw_module_name |
| 22 | |
Victor Barpp Gomes | 7e5426d | 2022-09-29 10:03:16 -0300 | [diff] [blame] | 23 | [nonprintable_othername_san] |
| 24 | subjectAltName=otherName:1.3.6.1.5.5.7.8.4;SEQ:nonprintable_hw_module_name |
| 25 | |
David Horstmann | f3fee12 | 2022-11-25 15:50:30 +0000 | [diff] [blame] | 26 | [unsupported_othername_san] |
Ron Eldor | b2dc3fa | 2019-03-21 13:40:13 +0200 | [diff] [blame] | 27 | subjectAltName=otherName:1.2.3.4;UTF8:some other identifier |
| 28 | |
Ron Eldor | 9eeb861 | 2019-02-12 15:03:42 +0200 | [diff] [blame] | 29 | [dns_alt_names] |
| 30 | subjectAltName=DNS:example.com, DNS:example.net, DNS:*.example.org |
| 31 | |
Ron Eldor | b2dc3fa | 2019-03-21 13:40:13 +0200 | [diff] [blame] | 32 | [alt_names] |
| 33 | DNS.1=example.com |
| 34 | otherName.1=1.3.6.1.5.5.7.8.4;SEQ:hw_module_name |
| 35 | DNS.2=example.net |
| 36 | DNS.3=*.example.org |
| 37 | |
| 38 | [multiple_san] |
| 39 | subjectAltName=@alt_names |
| 40 | |
Pengyu Lv | 5539dcb | 2023-05-18 10:10:39 +0800 | [diff] [blame] | 41 | [ext_multi_nocn] |
| 42 | basicConstraints = CA:false |
| 43 | keyUsage = digitalSignature, nonRepudiation, keyEncipherment |
| 44 | subjectAltName = DNS:www.shotokan-braunschweig.de,DNS:www.massimo-abate.eu,IP:192.168.1.1,IP:192.168.69.144 |
| 45 | |
Ron Eldor | b2dc3fa | 2019-03-21 13:40:13 +0200 | [diff] [blame] | 46 | [hw_module_name] |
| 47 | hwtype = OID:1.3.6.1.4.1.17.3 |
| 48 | hwserial = OCT:123456 |
| 49 | |
Victor Barpp Gomes | 7e5426d | 2022-09-29 10:03:16 -0300 | [diff] [blame] | 50 | [nonprintable_hw_module_name] |
| 51 | hwtype = OID:1.3.6.1.4.1.17.3 |
| 52 | hwserial = FORMAT:HEX, OCT:3132338081008180333231 |
| 53 | |
Ron Eldor | 74d9acc | 2019-03-21 14:00:03 +0200 | [diff] [blame] | 54 | [v3_any_policy_ca] |
| 55 | basicConstraints = CA:true |
| 56 | certificatePolicies = 2.5.29.32.0 |
| 57 | |
| 58 | [v3_any_policy_qualifier_ca] |
| 59 | basicConstraints = CA:true |
| 60 | certificatePolicies = @policy_info |
| 61 | |
| 62 | [v3_multi_policy_ca] |
| 63 | basicConstraints = CA:true |
| 64 | certificatePolicies = 1.2.3.4,2.5.29.32.0 |
| 65 | |
| 66 | [v3_unsupported_policy_ca] |
| 67 | basicConstraints = CA:true |
| 68 | certificatePolicies = 1.2.3.4 |
| 69 | |
| 70 | [policy_info] |
| 71 | policyIdentifier = 2.5.29.32.0 |
| 72 | CPS.1 ="CPS uri string" |
| 73 | |
Ron Eldor | 3c4734a | 2019-03-25 14:05:23 +0200 | [diff] [blame] | 74 | [fan_cert] |
| 75 | extendedKeyUsage = 1.3.6.1.4.1.45605.1 |
| 76 | |
Manuel Pégourié-Gonnard | c10afdb | 2017-06-29 09:48:08 +0200 | [diff] [blame] | 77 | [noext_ca] |
| 78 | basicConstraints = CA:true |
Gilles Peskine | 15ad579 | 2018-03-22 22:21:55 +0100 | [diff] [blame] | 79 | |
Manuel Pégourié-Gonnard | fd3e4fb | 2018-03-13 11:53:30 +0100 | [diff] [blame] | 80 | [test_ca] |
| 81 | database = /dev/null |
| 82 | |
| 83 | [crl_ext_idp] |
| 84 | issuingDistributionPoint=critical, @idpdata |
| 85 | |
Manuel Pégourié-Gonnard | a63305d | 2018-03-14 12:23:56 +0100 | [diff] [blame] | 86 | [crl_ext_idp_nc] |
| 87 | issuingDistributionPoint=@idpdata |
| 88 | |
Manuel Pégourié-Gonnard | fd3e4fb | 2018-03-13 11:53:30 +0100 | [diff] [blame] | 89 | [idpdata] |
| 90 | fullname=URI:http://pki.example.com/ |
Manuel Pégourié-Gonnard | 7d2a4d8 | 2020-07-23 12:39:53 +0200 | [diff] [blame] | 91 | |
| 92 | # these IPs are the ascii values for 'abcd' and 'abcd.example.com' |
| 93 | [tricky_ip_san] |
| 94 | subjectAltName=IP:97.98.99.100,IP:6162:6364:2e65:7861:6d70:6c65:2e63:6f6d |