Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8334171

Test DTrustCA.java intermittent fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • security-libs

      The testcase security/infra/java/security/cert/CertPathValidator/certification/DTrustCA.java intermittent fails, the log snippet:

      certpath: connecting to OCSP service at: http://ssl-c3-ca1-ev-2009.ocsp.d-trust.net
      certpath: OCSP response status: TRY_LATER
      java.lang.RuntimeException: TEST FAILED: couldn't determine EE certificate status
      at ValidatePathWithParams.validate(ValidatePathWithParams.java:177)
      at RootClass3CA2EV.runTest(DTrustCA.java:273)
      at DTrustCA.main(DTrustCA.java:50)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.security.cert.CertPathValidatorException: OCSP response error: TRY_LATER
      at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:135)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:224)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:144)
      at java.base/sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:83)
      at java.base/java.security.cert.CertPathValidator.validate(CertPathValidator.java:309)
      at ValidatePathWithParams.doCertPathValidate(ValidatePathWithParams.java:288)
      at ValidatePathWithParams.validate(ValidatePathWithParams.java:142)
      ... 6 more
      Caused by: java.security.cert.CertPathValidatorException: OCSP response error: TRY_LATER
      at java.base/sun.security.provider.certpath.OCSPResponse.verify(OCSPResponse.java:385)
      at java.base/sun.security.provider.certpath.OCSP.check(OCSP.java:172)
      at java.base/sun.security.provider.certpath.RevocationChecker.checkOCSP(RevocationChecker.java:780)
      at java.base/sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:369)
      at java.base/sun.security.provider.certpath.RevocationChecker.check(RevocationChecker.java:343)
      at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125)
      ... 12 more

            rhalade Rajan Halade
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: