Steven Clark 2fe676e75b
Validate OCSP response is signed by expected issuer (#26091)
* Validate OCSP response is signed by expected issuer and serial number matches request

 - There was a bug in the OCSP response signature logic, it properly
   verified but kept around the ocspRes object around so we ignored
   the errors found and passed the response object back up the stack.
 - Now extract the verification logic into a dedicated function, if
   it returns an error, blank the ocspRes response as we can't trust it.
 - Address an issue that the OCSP requests from multiple servers were
   clobbering each others responses as the index loop variable was not
   properly captured.
 - Add a missing validation that the response was for the serial number
    we requested

* Add cl
2024-03-22 09:28:02 -04:00
..
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2024-02-20 11:42:59 -08:00
2023-03-15 09:00:52 -07:00
2024-01-18 20:00:00 +00:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00
2023-03-15 09:00:52 -07:00