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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -