Tahir Azim wrote:

> Hi,
>
> Im trying to make my XmlRpc client to communicate with an xmlrpc
> server over https. But whenever I try to do this, I get the error
>
> java.security.cert.CertificateException: Couldn't find trusted
> certificate
>
> Basically I want to send my client certificate to the server over
> ssl as well, to carry out client authentication. How can i do this
> with xmlrpc? Any help or sample code is appreciated.
>
> Thanks Tahir.
>
> __________________________________ Do you Yahoo!? Yahoo! Finance:
> Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html

I think the problem is from your side. You should get the server
certificate and add it to the cacerts file. You may find it here:
$JAVA_HOME/jre/lib/security/cacerts. Then use the keytool utility to
add the certificate to the cacerts file:
${JAVA_HOME}/jre/bin/keytool -import -alias <alias name> -keystore
<path to cacerts file> -file <path to certificate file> -storepass
<your password>.


Gabriel




Reply via email to