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

test/jdk/sun/security/x509/DNSName/LeadingPeriod.java validity check failed

    XMLWordPrintable

Details

    Description

      The test has started to fail on all platforms with:
      CertificateExpiredException: NotAfter: Sat Nov 18 20:51:45 UTC 2023


      java.security.cert.CertPathValidatorException: validity check failed
      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 LeadingPeriod.main(LeadingPeriod.java:97)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1570)
      Caused by: java.security.cert.CertificateExpiredException: NotAfter: Sat Nov 18 20:51:45 UTC 2023
      at java.base/sun.security.x509.CertificateValidity.valid(CertificateValidity.java:182)
      at java.base/sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:534)
      at java.base/sun.security.provider.certpath.BasicChecker.verifyValidity(BasicChecker.java:190)
      at java.base/sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144)
      at java.base/sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:125)
      ... 9 more

      Attachments

        Issue Links

          Activity

            People

              mullan Sean Mullan
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: