JDK-7151068 : OCSPUnitTest not working
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: unknown
  • Submitted: 2012-03-05
  • Updated: 2012-10-10
  • Resolved: 2012-08-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u6Fixed 8 b32Fixed
Description
The regression/unit test closed/java/security/cert/CerPathValidator/OCSP/OCSPUnitTest.java
is passing on most platforms because by default http proxying is disabled and the test
is unable to connect to the verisign OCSP service.

On Macos, proxying is often enabled by default, and the test is able to connect to the server.
But, the test fails in this case, because the server returns an UNKNOWN status for the cert.

The test should probably be updated to check for a cert that the server knows about.

Comments
EVALUATION The target cert has expired. Replace it with an unexpired one.
13-03-2012