Hi,

I'm writing an integration test for esb and I wanted to create a https
connection between esb and the client. In the test class I have set the
system properties for keystore and truststore for the httpClient and in the
esb side I'm loading the required keystores and truststores as well.

when I did a post request like this in the test class

    httpClient.doPost(epr,headers,payload,"text/xml");

getting this error.

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Full error log : [1 <http://pastebin.com/5Mau7iz9>]

I have done some googling and it looks
like[2<http://javaskeleton.blogspot.com/2010/07/avoiding-peer-not-authenticated-with.html>]
the client can't verify the server's certificate. Any suggestions please?

thank you.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to