fix for SunCertPathBuilderException