java - How can import SSL certificate at JVM -


i must call web service soap client.

so in eclipse have create new project, import local wsdl, have do, right click on wsdl, web services, generate client.

so process works, , this, have starting server, , try invoke method. have error

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 message: ; nested exception is: javax.net.ssl.sslhandshakeexception: sun.security.validator.validatorexception: pkix path building failed: sun.security.provider.certpath.suncertpathbuilderexception: unable find valid certification path requested target

now know, problem on import of certificate. i'm export ssl certificate https, , have use command add certificate @ keystore

keytool -import -keystore keystore_healthnetbr.jks -alias alias -v -file edottotest.it 

this command works, after this, if try execute call have error.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -