RFC2560 mandates that a valid OCSP response will contain exactly one relevant certificate. However, some OCSP responders include extraneous certificates. iPXE currently assumes that the first certificate in the OCSP response is the relevant certificate; OCSP checks will therefore fail if the responder includes the extraneous certificates before the relevant certificate. Fix by using the responder ID to identify the relevant certificate. Reported-by: Christian Stroehmeier <stroemi@mail.uni-paderborn.de> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
58 |
|
58 |
|
59 |
|
59 |
|
60 |
|
60 |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
61 |
|
76 |
|
62 |
|
77 |
|
63 |
|
78 |
|
|
|
||
355 |
|
370 |
|
356 |
|
371 |
|
357 |
|
372 |
|
358 |
|
|
|
|
373 |
|
|
359 |
|
374 |
|
360 |
|
375 |
|
361 |
|
376 |
|
362 |
|
377 |
|
363 |
|
378 |
|
|
379 |
|
|
|
380 |
|
|
|
381 |
|
|
|
382 |
|
|
|
383 |
|
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
|
|
|
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
|
396 |
|
|
|
397 |
|
|
|
398 |
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
|
|
|
416 |
|
|
|
417 |
|
|
|
418 |
|
|
|
419 |
|
|
|
420 |
|
|
|
421 |
|
|
|
422 |
|
|
|
423 |
|
|
|
424 |
|
|
|
425 |
|
|
|
426 |
|
|
|
427 |
|
|
|
428 |
|
|
|
429 |
|
|
|
430 |
|
|
|
431 |
|
|
|
432 |
|
|
|
433 |
|
|
|
434 |
|
|
|
435 |
|
|
|
436 |
|
|
|
437 |
|
|
|
438 |
|
|
|
439 |
|
|
|
440 |
|
|
|
441 |
|
|
|
442 |
|
|
|
443 |
|
|
|
444 |
|
|
|
445 |
|
|
|
446 |
|
|
|
447 |
|
|
|
448 |
|
|
|
449 |
|
|
|
450 |
|
|
|
451 |
|
|
|
452 |
|
|
|
453 |
|
|
|
454 |
|
|
|
455 |
|
|
|
456 |
|
|
|
457 |
|
|
|
458 |
|
|
|
459 |
|
|
|
460 |
|
|
364 |
|
461 |
|
365 |
|
462 |
|
366 |
|
463 |
|
|
|
||
484 |
|
581 |
|
485 |
|
582 |
|
486 |
|
583 |
|
487 |
|
|
|
|
584 |
|
|
|
585 |
|
|
|
586 |
|
|
488 |
|
587 |
|
489 |
|
588 |
|
490 |
|
589 |
|
|
|
||
508 |
|
607 |
|
509 |
|
608 |
|
510 |
|
609 |
|
|
610 |
|
|
511 |
|
611 |
|
512 |
|
612 |
|
513 |
|
613 |
|
|
|
||
519 |
|
619 |
|
520 |
|
620 |
|
521 |
|
621 |
|
522 |
|
|
|
|
622 |
|
|
|
623 |
|
|
|
624 |
|
|
523 |
|
625 |
|
524 |
|
|
|
525 |
|
|
|
526 |
|
|
|
527 |
|
|
|
528 |
|
|
|
529 |
|
|
|
530 |
|
|
|
|
626 |
|
|
|
627 |
|
|
|
628 |
|
|
|
629 |
|
|
|
630 |
|
|
|
631 |
|
|
|
632 |
|
|
|
633 |
|
|
|
634 |
|
|
|
635 |
|
|
|
636 |
|
|
|
637 |
|
|
|
638 |
|
|
|
639 |
|
|
|
640 |
|
|
|
641 |
|
|
|
642 |
|
|
|
643 |
|
|
|
644 |
|
|
|
645 |
|
|
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
|
649 |
|
|
531 |
|
650 |
|
532 |
|
|
|
533 |
|
|
|
534 |
|
651 |
|
535 |
|
|
|
|
652 |
|
|
|
653 |
|
|
|
654 |
|
|
536 |
|
655 |
|
537 |
|
656 |
|
538 |
|
657 |
|
|
|
||
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
30 |
|
|
31 |
|
|
|
32 |
|
|
31 |
|
33 |
|
32 |
|
34 |
|
33 |
|
35 |
|
|
|
||
36 |
|
38 |
|
37 |
|
39 |
|
38 |
|
40 |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
39 |
|
56 |
|
40 |
|
57 |
|
41 |
|
58 |
|
42 |
|
59 |
|
43 |
|
60 |
|
44 |
|
61 |
|
|
62 |
|
|
|
63 |
|
|
45 |
|
64 |
|
46 |
|
65 |
|
47 |
|
66 |
|