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

JDK 7 Certpathbuilder.build throws SunCertPathBuilderException when JDK 6 works

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P2
    • None
    • 7u40, 8
    • security-libs
    • generic
    • generic

    Description

      1. Attached 3-7885427021-testcase.tar.gz
      2. cd testcase1-ng/
      3. ./test.sh <jdk_home>

      The testcase2-ok is similar code, the only change is
      the empty intermediate keystore.

      Tested with 6u51 - works.
      7 FCS fails. 7u40 fails. 1.8.0-ea-b109 fails.


      Running the same piece of code/certs/keystore with JDK 6 works.
      JDK 7 fails with the following exception.

      sun.security.provider.certpath.SunCertPathBuilderException: unable to find
      valid certification path to requested target
              at
      sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuild
      er.java:196)
              at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
      ...

      Attachments

        Issue Links

          Activity

            People

              mbankal Mala Bankal (Inactive)
              mbankal Mala Bankal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: