PKIX path building failed WITH GlassFish 3.1
I'm using GlassFish 3.1 and some codes didn't worked in this version.
What didn't work is when the code will catch the certified and try to connect with a webservice relating the following error
"PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target "
Strange but in the GlassFish 3.0 it worked fine.
What's the problem?