Modified fix of "Allow CA importing of 0 certificates to succeed".
[gnutls.git] / tests / test10.pem
blobc69f95ba247904adfab77f0fb222cd38d51d2a80
1 [ The end certificate is expired. This should be validated (we don't check
2 expiration in the validation functions. ]
4 Certificate:
5     Data:
6         Version: 3 (0x2)
7         Serial Number: 20 (0x14)
8         Signature Algorithm: sha1WithRSAEncryption
9         Issuer: C=US, O=U.S. Government, OU=Dod, OU=Testing, CN=CA1-CP.03.02
10         Validity
11             Not Before: Jan  1 12:01:00 1998 GMT
12             Not After : Jan  1 12:01:00 2000 GMT
13         Subject: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=User1-CP.03.02
14         Subject Public Key Info:
15             Public Key Algorithm: rsaEncryption
16             RSA Public Key: (1024 bit)
17                 Modulus (1024 bit):
18                     00:c2:4c:89:6f:86:e1:b8:28:45:a6:33:d8:e5:2e:
19                     ff:e3:d0:ff:2a:78:26:01:4e:07:75:5e:81:fe:7f:
20                     bc:8a:c5:e2:0b:27:a1:0c:4e:08:2b:0e:e4:94:cb:
21                     ad:b4:b9:7e:2d:c2:3a:3b:cc:e7:0f:7f:49:9a:4d:
22                     1e:d4:9f:c9:66:fd:69:f9:b1:e0:37:6b:4f:56:cd:
23                     8e:66:bb:23:a3:c2:89:dc:b1:33:35:f8:89:32:de:
24                     68:c4:67:a8:19:38:03:ef:f4:59:fd:be:e1:5c:c2:
25                     aa:bf:1a:56:22:22:43:bb:b6:25:f6:62:4d:0e:1d:
26                     67:10:e8:51:6e:86:f2:5a:db
27                 Exponent: 65537 (0x10001)
28         X509v3 extensions:
29             X509v3 Key Usage: critical
30                 Digital Signature, Non Repudiation, Key Encipherment
31             X509v3 Certificate Policies: 
32                 Policy: 2.16.840.1.101.3.1.48.1
34             X509v3 Subject Key Identifier: 
35                 12:39:F2:D8:6C:C5:5C:64
36             X509v3 Authority Key Identifier: 
37                 keyid:F7:B9:C9:0A:AA:BA:FA:42
39     Signature Algorithm: sha1WithRSAEncryption
40         27:0d:d3:dd:a2:f7:a5:86:d9:86:cc:20:b2:13:af:27:d6:35:
41         aa:fe:b9:47:aa:c2:95:2c:41:e6:5a:81:c3:af:90:92:2e:19:
42         a5:6e:7b:34:af:0b:c1:a1:92:d3:75:f3:0d:43:da:0e:2e:3f:
43         f5:18:46:08:7a:4f:db:87:c8:b2:44:b8:9f:88:cd:66:02:a9:
44         1a:db:7a:54:45:68:ad:41:fb:70:e2:cd:0b:0d:9c:bb:03:25:
45         29:b9:32:66:73:5d:c7:62:6a:4c:c3:25:1f:33:49:dd:c9:b2:
46         69:7d:c5:ef:42:18:d0:e6:5b:c0:22:9d:52:8f:ee:31:50:ba:
47         86:cb
48 -----BEGIN CERTIFICATE-----
49 MIIChjCCAe+gAwIBAgIBFDANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQGEwJVUzEY
50 MBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb2QxEDAOBgNVBAsT
51 B1Rlc3RpbmcxFTATBgNVBAMTDENBMS1DUC4wMy4wMjAeFw05ODAxMDExMjAxMDBa
52 Fw0wMDAxMDExMjAxMDBaMGAxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv
53 dmVybm1lbnQxDDAKBgNVBAsTA0RvRDEQMA4GA1UECxMHVGVzdGluZzEXMBUGA1UE
54 AxMOVXNlcjEtQ1AuMDMuMDIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMJM
55 iW+G4bgoRaYz2OUu/+PQ/yp4JgFOB3Vegf5/vIrF4gsnoQxOCCsO5JTLrbS5fi3C
56 OjvM5w9/SZpNHtSfyWb9afmx4DdrT1bNjma7I6PCidyxMzX4iTLeaMRnqBk4A+/0
57 Wf2+4VzCqr8aViIiQ7u2JfZiTQ4dZxDoUW6G8lrbAgMBAAGjUjBQMA4GA1UdDwEB
58 /wQEAwIF4DAWBgNVHSAEDzANMAsGCWCGSAFlAwEwATARBgNVHQ4ECgQIEjny2GzF
59 XGQwEwYDVR0jBAwwCoAI97nJCqq6+kIwDQYJKoZIhvcNAQEFBQADgYEAJw3T3aL3
60 pYbZhswgshOvJ9Y1qv65R6rClSxB5lqBw6+Qki4ZpW57NK8LwaGS03XzDUPaDi4/
61 9RhGCHpP24fIskS4n4jNZgKpGtt6VEVorUH7cOLNCw2cuwMlKbkyZnNdx2JqTMMl
62 HzNJ3cmyaX3F70IY0OZbwCKdUo/uMVC6hss=
63 -----END CERTIFICATE-----
64 Certificate:
65     Data:
66         Version: 3 (0x2)
67         Serial Number: 19 (0x13)
68         Signature Algorithm: sha1WithRSAEncryption
69         Issuer: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=Trust Anchor
70         Validity
71             Not Before: Jan  1 12:01:00 1998 GMT
72             Not After : Jan  1 12:01:00 2048 GMT
73         Subject: C=US, O=U.S. Government, OU=Dod, OU=Testing, CN=CA1-CP.03.02
74         Subject Public Key Info:
75             Public Key Algorithm: rsaEncryption
76             RSA Public Key: (1024 bit)
77                 Modulus (1024 bit):
78                     00:b8:01:b3:fc:80:35:14:70:86:bc:c3:8a:44:b0:
79                     68:1b:60:7d:ac:cf:4f:10:31:45:dd:e3:1c:31:eb:
80                     dd:62:f5:00:9c:c9:64:a8:bd:03:b8:26:8c:de:6f:
81                     d2:70:b7:23:76:f9:fd:d3:f8:9a:99:2f:f8:30:50:
82                     7b:8b:3b:62:04:5e:9c:c4:d8:2f:05:cd:08:3a:31:
83                     af:93:89:2a:e5:bc:62:5f:79:c4:e5:4a:8a:05:98:
84                     4b:43:dd:78:7a:23:a3:79:3c:cd:5f:a7:2c:98:da:
85                     c3:8e:84:04:4d:e5:2e:aa:47:d0:4e:bb:19:01:02:
86                     aa:c0:4f:47:e0:a8:3d:93:b3
87                 Exponent: 65537 (0x10001)
88         X509v3 extensions:
89             X509v3 Basic Constraints: critical
90                 CA:TRUE
91             X509v3 Key Usage: critical
92                 Certificate Sign, CRL Sign
93             X509v3 Certificate Policies: 
94                 Policy: 2.16.840.1.101.3.1.48.1
96             X509v3 Subject Key Identifier: 
97                 F7:B9:C9:0A:AA:BA:FA:42
98             X509v3 Authority Key Identifier: 
99                 keyid:AB:9A:EB:F9:C2:E7:54:8F
101     Signature Algorithm: sha1WithRSAEncryption
102         5b:0a:5f:87:da:0e:3a:f8:fd:c4:74:b4:cd:c7:33:69:42:07:
103         4e:4a:63:82:4d:3d:23:ea:44:46:5b:b4:67:4f:ab:1e:fa:59:
104         1a:07:b8:3a:f3:43:16:d3:1c:e1:38:2d:84:67:32:75:b2:30:
105         88:aa:20:8e:d1:81:33:6f:ec:34:72:0e:da:37:29:35:e3:ad:
106         34:a2:f1:af:30:f8:63:45:5e:d7:ae:24:5c:1b:bd:32:6b:31:
107         c7:8b:06:ed:75:17:65:68:22:38:f7:ee:fc:79:b2:3d:57:73:
108         6c:84:5e:25:d4:0e:e7:5e:52:37:1e:c9:76:05:72:52:4c:a1:
109         07:13
110 -----BEGIN CERTIFICATE-----
111 MIIClTCCAf6gAwIBAgIBEzANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQGEwJVUzEY
112 MBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb0QxEDAOBgNVBAsT
113 B1Rlc3RpbmcxFTATBgNVBAMTDFRydXN0IEFuY2hvcjAeFw05ODAxMDExMjAxMDBa
114 Fw00ODAxMDExMjAxMDBaMF4xCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv
115 dmVybm1lbnQxDDAKBgNVBAsTA0RvZDEQMA4GA1UECxMHVGVzdGluZzEVMBMGA1UE
116 AxMMQ0ExLUNQLjAzLjAyMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4AbP8
117 gDUUcIa8w4pEsGgbYH2sz08QMUXd4xwx691i9QCcyWSovQO4Jozeb9JwtyN2+f3T
118 +JqZL/gwUHuLO2IEXpzE2C8FzQg6Ma+TiSrlvGJfecTlSooFmEtD3Xh6I6N5PM1f
119 pyyY2sOOhARN5S6qR9BOuxkBAqrAT0fgqD2TswIDAQABo2MwYTAPBgNVHRMBAf8E
120 BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAWBgNVHSAEDzANMAsGCWCGSAFlAwEwATAR
121 BgNVHQ4ECgQI97nJCqq6+kIwEwYDVR0jBAwwCoAIq5rr+cLnVI8wDQYJKoZIhvcN
122 AQEFBQADgYEAWwpfh9oOOvj9xHS0zcczaUIHTkpjgk09I+pERlu0Z0+rHvpZGge4
123 OvNDFtMc4TgthGcydbIwiKogjtGBM2/sNHIO2jcpNeOtNKLxrzD4Y0Ve164kXBu9
124 Mmsxx4sG7XUXZWgiOPfu/HmyPVdzbIReJdQO515SNx7JdgVyUkyhBxM=
125 -----END CERTIFICATE-----
126 Certificate:
127     Data:
128         Version: 3 (0x2)
129         Serial Number: 99999 (0x1869f)
130         Signature Algorithm: sha1WithRSAEncryption
131         Issuer: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=Trust Anchor
132         Validity
133             Not Before: Jan  1 12:01:00 1999 GMT
134             Not After : Jan  1 12:01:00 2048 GMT
135         Subject: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=Trust Anchor
136         Subject Public Key Info:
137             Public Key Algorithm: rsaEncryption
138             RSA Public Key: (1024 bit)
139                 Modulus (1024 bit):
140                     00:d3:f3:b9:c1:33:b7:3f:a7:27:f6:41:1d:5c:9c:
141                     79:9d:aa:d2:95:10:b7:84:ce:da:a3:e5:58:0c:3e:
142                     4e:8b:56:bf:3e:aa:21:2d:50:13:fe:f3:19:2e:7a:
143                     cb:11:cf:f3:d3:b8:5f:57:9f:9d:97:80:af:1d:95:
144                     57:12:df:34:d4:bd:f3:ae:4d:e7:7c:a6:20:d4:04:
145                     4e:da:63:61:3e:3d:2a:8d:37:cf:c5:3c:c9:f9:fa:
146                     f0:39:48:04:78:bd:b0:dd:f5:24:46:33:a1:46:9f:
147                     17:9f:04:bb:cf:37:94:0c:13:43:aa:90:ac:91:78:
148                     1d:ba:f3:18:84:2a:82:2b:47
149                 Exponent: 65537 (0x10001)
150         X509v3 extensions:
151             X509v3 Subject Key Identifier: 
152                 AB:9A:EB:F9:C2:E7:54:8F
153             X509v3 Basic Constraints: 
154                 CA:TRUE
155             X509v3 Authority Key Identifier: 
156                 keyid:AB:9A:EB:F9:C2:E7:54:8F
158     Signature Algorithm: sha1WithRSAEncryption
159         16:56:0f:61:ac:87:8b:4f:eb:64:12:1b:c3:85:59:4a:68:e1:
160         3b:a5:21:c1:59:2e:91:ac:68:fe:13:ff:63:6d:ee:55:d4:a0:
161         82:4c:37:bc:16:8e:a9:26:61:fe:7f:46:fa:38:1f:13:5c:8a:
162         6a:b7:12:47:98:72:b9:b5:56:80:ee:78:95:18:1a:f4:63:70:
163         26:39:9b:19:20:84:8d:bb:62:5f:df:2c:a1:3d:fc:1b:d0:3a:
164         bb:d8:cc:1b:36:12:a2:ab:ad:3e:e6:e1:52:b4:75:13:11:ec:
165         27:95:a6:63:cf:d3:cc:f4:4e:d8:ba:b8:ad:ad:cc:1a:65:a7:
166         5a:45
167 -----BEGIN CERTIFICATE-----
168 MIICbDCCAdWgAwIBAgIDAYafMA0GCSqGSIb3DQEBBQUAMF4xCzAJBgNVBAYTAlVT
169 MRgwFgYDVQQKEw9VLlMuIEdvdmVybm1lbnQxDDAKBgNVBAsTA0RvRDEQMA4GA1UE
170 CxMHVGVzdGluZzEVMBMGA1UEAxMMVHJ1c3QgQW5jaG9yMB4XDTk5MDEwMTEyMDEw
171 MFoXDTQ4MDEwMTEyMDEwMFowXjELMAkGA1UEBhMCVVMxGDAWBgNVBAoTD1UuUy4g
172 R292ZXJubWVudDEMMAoGA1UECxMDRG9EMRAwDgYDVQQLEwdUZXN0aW5nMRUwEwYD
173 VQQDEwxUcnVzdCBBbmNob3IwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANPz
174 ucEztz+nJ/ZBHVyceZ2q0pUQt4TO2qPlWAw+TotWvz6qIS1QE/7zGS56yxHP89O4
175 X1efnZeArx2VVxLfNNS9865N53ymINQETtpjYT49Ko03z8U8yfn68DlIBHi9sN31
176 JEYzoUafF58Eu883lAwTQ6qQrJF4HbrzGIQqgitHAgMBAAGjODA2MBEGA1UdDgQK
177 BAirmuv5wudUjzAMBgNVHRMEBTADAQH/MBMGA1UdIwQMMAqACKua6/nC51SPMA0G
178 CSqGSIb3DQEBBQUAA4GBABZWD2Gsh4tP62QSG8OFWUpo4TulIcFZLpGsaP4T/2Nt
179 7lXUoIJMN7wWjqkmYf5/Rvo4HxNcimq3EkeYcrm1VoDueJUYGvRjcCY5mxkghI27
180 Yl/fLKE9/BvQOrvYzBs2EqKrrT7m4VK0dRMR7CeVpmPP08z0Tti6uK2tzBplp1pF
181 -----END CERTIFICATE-----