The test now works.
[gnutls.git] / tests / test3.pem
blob0647a14ddf687b2b28c1a9ac4ada058e4f420365
1 [ This should not be validated. The signature on the end
2   certificate is invalid ]
4 Certificate:
5     Data:
6         Version: 3 (0x2)
7         Serial Number: 5 (0x5)
8         Signature Algorithm: sha1WithRSAEncryption
9         Issuer: C=US, O=U.S. Government, OU=Dod, OU=Testing, CN=CA1-CP.01.03
10         Validity
11             Not Before: Jan  1 12:01:00 1998 GMT
12             Not After : Jan  1 12:01:00 2048 GMT
13         Subject: C=US, O=U.S. Government, OU=DoD, OU=Testing, CN=User1-CP.01.03
14         Subject Public Key Info:
15             Public Key Algorithm: rsaEncryption
16             RSA Public Key: (1024 bit)
17                 Modulus (1024 bit):
18                     00:d0:03:d6:f4:23:ff:fe:01:18:45:d6:d5:0e:c7:
19                     5f:f0:14:c8:52:45:c8:7a:18:72:f8:39:cb:8b:bf:
20                     f1:28:fa:a2:4a:e2:5e:3d:e4:9e:70:4a:0e:22:4b:
21                     a4:a7:dc:b0:ee:69:e4:c4:12:e5:0c:c0:73:e9:71:
22                     12:b5:c3:f9:db:a2:c3:c9:66:eb:58:63:d1:2b:6c:
23                     47:38:43:16:c6:82:d6:06:a4:8f:35:3b:d1:1d:93:
24                     9b:3f:dd:8d:49:ea:3b:76:9a:db:02:02:73:83:55:
25                     01:79:c8:30:cb:07:fd:be:97:5c:56:69:0b:4f:c2:
26                     df:64:cf:4e:ff:5a:6b:d9:ab
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                 3F:0D:B0:96:D8:91:AB:3E
36             X509v3 Authority Key Identifier: 
37                 keyid:CF:4F:16:84:CA:46:D8:9B
39     Signature Algorithm: sha1WithRSAEncryption
40         96:7e:36:89:1d:de:1f:26:b3:17:c0:91:8d:2f:49:9d:ab:3f:
41         db:a3:1a:06:d8:d4:c8:3b:5c:4a:34:d5:0d:61:65:71:cc:2b:
42         43:b4:e0:b7:38:e4:36:6f:5f:0a:68:12:ca:fa:f2:0e:75:18:
43         18:c0:e8:12:3c:18:34:b2:20:b4:20:24:54:81:01:4e:62:6f:
44         96:a8:8f:1c:7f:ad:57:9a:09:bc:86:af:f8:59:fc:a2:41:e9:
45         ba:e2:b8:e2:e9:83:71:d2:a2:15:69:4e:cb:1a:d2:87:1c:d5:
46         dc:17:b3:fd:e1:e4:95:a3:d3:c3:f5:6c:56:1c:a1:f9:4a:ee:
47         e7:33
48 -----BEGIN CERTIFICATE-----
49 MIIChjCCAe+gAwIBAgIBBTANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQGEwJVUzEY
50 MBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb2QxEDAOBgNVBAsT
51 B1Rlc3RpbmcxFTATBgNVBAMTDENBMS1DUC4wMS4wMzAeFw05ODAxMDExMjAxMDBa
52 Fw00ODAxMDExMjAxMDBaMGAxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv
53 dmVybm1lbnQxDDAKBgNVBAsTA0RvRDEQMA4GA1UECxMHVGVzdGluZzEXMBUGA1UE
54 AxMOVXNlcjEtQ1AuMDEuMDMwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBANAD
55 1vQj//4BGEXW1Q7HX/AUyFJFyHoYcvg5y4u/8Sj6okriXj3knnBKDiJLpKfcsO5p
56 5MQS5QzAc+lxErXD+duiw8lm61hj0StsRzhDFsaC1gakjzU70R2Tmz/djUnqO3aa
57 2wICc4NVAXnIMMsH/b6XXFZpC0/C32TPTv9aa9mrAgMBAAGjUjBQMA4GA1UdDwEB
58 /wQEAwIF4DAWBgNVHSAEDzANMAsGCWCGSAFlAwEwATARBgNVHQ4ECgQIPw2wltiR
59 qz4wEwYDVR0jBAwwCoAIz08WhMpG2JswDQYJKoZIhvcNAQEFBQADgYEAln42iR3e
60 HyazF8CRjS9Jnas/26MaBtjUyDtcSjTVDWFlccwrQ7TgtzjkNm9fCmgSyvryDnUY
61 GMDoEjwYNLIgtCAkVIEBTmJvlqiPHH+tV5oJvIav+Fn8okHpuuK44umDcdKiFWlO
62 yxrShxzV3Bez/eHklaPTw/VsVhyh+Uru5zM=
63 -----END CERTIFICATE-----
64 Certificate:
65     Data:
66         Version: 3 (0x2)
67         Serial Number: 4 (0x4)
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.01.03
74         Subject Public Key Info:
75             Public Key Algorithm: rsaEncryption
76             RSA Public Key: (1024 bit)
77                 Modulus (1024 bit):
78                     00:b8:45:9d:11:f3:6b:00:f8:17:f2:ca:71:5e:a0:
79                     80:c6:ed:ce:48:95:9f:07:a2:b1:2f:f8:ee:08:8f:
80                     73:b2:ec:54:75:30:1e:27:a3:c8:43:10:13:c1:7f:
81                     97:c2:ac:04:7f:f0:f5:71:09:98:d5:8f:61:ce:c2:
82                     74:80:a9:44:20:c6:8e:96:3d:c9:a4:69:bb:b1:d7:
83                     69:3c:90:ae:b2:78:aa:b7:6f:bb:b9:7c:be:ad:6f:
84                     b7:8a:12:54:33:b3:3f:09:7b:8c:f8:ac:20:e4:23:
85                     5d:2f:57:e5:f4:55:9e:48:a7:f1:2c:e3:6f:1d:c3:
86                     62:a8:37:c7:b2:1a:6c:37:f9
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                 CF:4F:16:84:CA:46:D8:9B
98             X509v3 Authority Key Identifier: 
99                 keyid:AB:9A:EB:F9:C2:E7:54:8F
101     Signature Algorithm: sha1WithRSAEncryption
102         43:e8:aa:94:5b:db:bc:37:a3:3b:f9:be:44:21:e1:d9:4b:94:
103         6a:ed:45:b8:00:4e:6e:43:ce:bb:64:ef:f7:24:d6:bd:34:96:
104         0d:1c:a0:74:e2:d0:46:23:8b:b2:38:2b:75:73:dd:6c:3b:ad:
105         54:68:e5:94:1a:13:37:c7:1d:cf:74:96:8c:2a:5a:9a:98:39:
106         4c:18:a4:02:bc:66:34:46:0c:0d:0b:cb:ea:7d:a5:91:47:1e:
107         b5:12:51:81:0e:d3:60:bb:c5:8f:df:92:c9:c2:97:7c:ce:42:
108         51:70:32:09:f7:14:fd:0c:03:82:18:59:81:cf:7d:02:e0:d9:
109         b4:97
110 -----BEGIN CERTIFICATE-----
111 MIIClTCCAf6gAwIBAgIBBDANBgkqhkiG9w0BAQUFADBeMQswCQYDVQQGEwJVUzEY
112 MBYGA1UEChMPVS5TLiBHb3Zlcm5tZW50MQwwCgYDVQQLEwNEb0QxEDAOBgNVBAsT
113 B1Rlc3RpbmcxFTATBgNVBAMTDFRydXN0IEFuY2hvcjAeFw05ODAxMDExMjAxMDBa
114 Fw00ODAxMDExMjAxMDBaMF4xCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw9VLlMuIEdv
115 dmVybm1lbnQxDDAKBgNVBAsTA0RvZDEQMA4GA1UECxMHVGVzdGluZzEVMBMGA1UE
116 AxMMQ0ExLUNQLjAxLjAzMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC4RZ0R
117 82sA+BfyynFeoIDG7c5IlZ8HorEv+O4Ij3Oy7FR1MB4no8hDEBPBf5fCrAR/8PVx
118 CZjVj2HOwnSAqUQgxo6WPcmkabux12k8kK6yeKq3b7u5fL6tb7eKElQzsz8Je4z4
119 rCDkI10vV+X0VZ5Ip/Es428dw2KoN8eyGmw3+QIDAQABo2MwYTAPBgNVHRMBAf8E
120 BTADAQH/MA4GA1UdDwEB/wQEAwIBBjAWBgNVHSAEDzANMAsGCWCGSAFlAwEwATAR
121 BgNVHQ4ECgQIz08WhMpG2JswEwYDVR0jBAwwCoAIq5rr+cLnVI8wDQYJKoZIhvcN
122 AQEFBQADgYEAQ+iqlFvbvDejO/m+RCHh2UuUau1FuABObkPOu2Tv9yTWvTSWDRyg
123 dOLQRiOLsjgrdXPdbDutVGjllBoTN8cdz3SWjCpampg5TBikArxmNEYMDQvL6n2l
124 kUcetRJRgQ7TYLvFj9+SycKXfM5CUXAyCfcU/QwDghhZgc99AuDZtJc=
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-----