[jdk17u-dev] RFR: 8296343: CPVE thrown on missing content-length in OCSP response

Philip Helger duke at openjdk.org
Wed Jan 10 08:32:36 UTC 2024


On Thu, 18 May 2023 15:59:18 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:

> Hi!
> 
> Here is backport of [JDK-8296343](https://bugs.openjdk.org/browse/JDK-8296343). The patch fixes CertPathValidatorException taking place if OCSP response does not contain `ContentLength` field.
> 
> Original patch is applied cleanly.
> 
> Verification/regression (amd64/20.04 LTS): `jdk_security` including newly added `test/jdk/sun/security/provider/certpath/OCSP/OCSPNoContentLength.java`

Dear all. The problem with OCSP responders not returning `Content-Length` header is still present and needs fixing. Please don't forget this one....

-------------

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1361#issuecomment-1884394053


More information about the jdk-updates-dev mailing list