United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7151068 OCSPUnitTest not working
JDK-7151068 : OCSPUnitTest not working

Details
Type:
Bug
Submit Date:
2012-03-05
Status:
Closed
Updated Date:
2012-10-10
Project Name:
JDK
Resolved Date:
2012-08-17
Component:
security-libs
OS:
os_x
Sub-Component:
java.security
CPU:
unknown
Priority:
P4
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:

Sub Tasks

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.
                                     
2012-03-13



Hardware and Software, Engineered to Work Together