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)
...