AXIS with SSL truststore -
hi m trying make standalone client https server on tomcat. when i'm doing:
system.setproperty("javax.net.ssl.truststore","f:\\truststore.jks"); system.setproperty("javax.net.ssl.truststorepassword","abc"); it working fine. don't want change @ system level. tried doing:
handler handler = new httpsender(); handler.setoption("truststore", "f:\\truststore.jks"); handler.setoption("truststorepassword", "abc"); simpletargetedchain stc = new simpletargetedchain(handler); config.deploytransport("http", stc); it not working, throwing exception :
javax.net.ssl.sslhandshakeexception: sun.security.validator.validatorexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target
what can problem?
Comments
Post a Comment