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

AmazonCA test fails with: unexpected status of EE certificate

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 8, openjdk8u372, 11.0.19, 17.0.7, 21
    • security-libs
    • None

      Since a few days ago AmazonCA test seems to be failing. This test:

      test/jdk/security/infra/java/security/cert/CertPathValidator/certification/AmazonCA.java

      Fails with:
      certpath: Verified signature of OCSP Response
      certpath: OCSP response validity interval is from Thu May 25 01:21:43 CEST 2023 until Thu Jun 01 02:21:43 CEST 2023
      certpath: Checking validity of OCSP response on Fri May 26 10:56:29 CEST 2023 with allowed interval between Fri May 26 10:41:29 CEST 2023 and Fri May 26 11:11:29 CEST 2023
      certpath: X509CertSelector.match(SN: cbe
        Issuer: CN=TWCA Global Root CA, OU=Root CA, O=TAIWAN-CA, C=TW
        Subject: CN=TWCA Global Root CA, OU=Root CA, O=TAIWAN-CA, C=TW)
      certpath: X509CertSelector.match: subject DNs don't match
      java.lang.RuntimeException: TEST FAILED: unexpected status of EE certificate
              at ValidatePathWithParams.validate(ValidatePathWithParams.java:193)
              at AmazonCA_1.runTest(AmazonCA.java:173)
              at AmazonCA.main(AmazonCA.java:64)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
              at java.base/java.lang.reflect.Method.invoke(Method.java:578)
              at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
              at java.base/java.lang.Thread.run(Thread.java:1583)

            rhalade Rajan Halade
            sgehwolf Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: