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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -