java - PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -
i trying connect mail service server , read inbox. code works gmail not seem work exchange server because of error:
sun.security.validator.validatorexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target
i have tried next per research: 1. downloaded installcert.java , ran folllowing command:
java installcert mail.simbatech.biz:993
and imported 1 certificate came in, afterwards copied jssecacerts
file jre/lib/security directory of java installation same error still persists. there other way this?
it sounds you're doing right things, apparently application not using certificate file created. application running? if it's running in application server, server may overriding trust store configuration , may ignoring jssecacerts file. seek enabling additional debug output described in javamail faq.
java ssl javamail
No comments:
Post a Comment