| OLD | NEW |
| 1 [Created by: generate-constrained-root-bad-eku.py] | 1 [Created by: generate-constrained-root-bad-eku.py] |
| 2 | 2 |
| 3 Certificate chain with 1 intermediate and a trust anchor. The trust anchor | 3 Certificate chain with 1 intermediate and a trust anchor. The trust anchor |
| 4 has an EKU that restricts it to clientAuth. Verification is expected to fail as | 4 has an EKU that restricts it to clientAuth. Verification is expected to fail as |
| 5 the end-entity is verified for serverAuth, and the trust anchor enforces | 5 the end-entity is verified for serverAuth, and the trust anchor enforces |
| 6 constraints. | 6 constraints. |
| 7 | 7 |
| 8 Certificate: | 8 Certificate: |
| 9 Data: | 9 Data: |
| 10 Version: 3 (0x2) | 10 Version: 3 (0x2) |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 FAIL | 283 FAIL |
| 284 -----BEGIN VERIFY_RESULT----- | 284 -----BEGIN VERIFY_RESULT----- |
| 285 RkFJTA== | 285 RkFJTA== |
| 286 -----END VERIFY_RESULT----- | 286 -----END VERIFY_RESULT----- |
| 287 | 287 |
| 288 serverAuth | 288 serverAuth |
| 289 -----BEGIN KEY_PURPOSE----- | 289 -----BEGIN KEY_PURPOSE----- |
| 290 c2VydmVyQXV0aA== | 290 c2VydmVyQXV0aA== |
| 291 -----END KEY_PURPOSE----- | 291 -----END KEY_PURPOSE----- |
| 292 | 292 |
| 293 ----- Certificate i=2 ----- | 293 ----- Certificate i=2 (CN=Root) ----- |
| 294 ERROR: The extended key usage does not include server auth | 294 ERROR: The extended key usage does not include server auth |
| 295 | 295 |
| 296 | 296 |
| 297 -----BEGIN ERRORS----- | 297 -----BEGIN ERRORS----- |
| 298 LS0tLS0gQ2VydGlmaWNhdGUgaT0yIC0tLS0tCkVSUk9SOiBUaGUgZXh0ZW5kZWQga2V5IHVzYWdlIGRv
ZXMgbm90IGluY2x1ZGUgc2VydmVyIGF1dGgKCg== | 298 LS0tLS0gQ2VydGlmaWNhdGUgaT0yIChDTj1Sb290KSAtLS0tLQpFUlJPUjogVGhlIGV4dGVuZGVkIGtl
eSB1c2FnZSBkb2VzIG5vdCBpbmNsdWRlIHNlcnZlciBhdXRoCgo= |
| 299 -----END ERRORS----- | 299 -----END ERRORS----- |
| OLD | NEW |