Re: camel http- to call https service does not import certificates automatically

2013-03-20 Thread santhosh
i went through my post and got the code :) public void configureHttpClient(org.apache.http.client.HttpClient httpClient) { try { final BasicHttpParams httpParams = new BasicHttpParams(); //if y

Re: camel http- to call https service does not import certificates automatically

2013-03-20 Thread santhosh
I think the previous post is the way to do.We/I dont automatically import certs.That said i dont your requirements.I have a post explaining the way httpClient should be used in camel in camel user forums.Search for all my post you will have the full working code.That should use your trust store ins

RE: camel http- to call https service does not import certificates automatically

2013-03-19 Thread Siano, Stephan
regards Stephan -Original Message- From: preety somani [mailto:preety.som...@i-exceed.com] Sent: Mittwoch, 20. März 2013 06:07 To: users@camel.apache.org Subject: Re: camel http- to call https service does not import certificates automatically Hi, can you tel me what I need to add to

Re: camel http- to call https service does not import certificates automatically

2013-03-19 Thread preety somani
Hi, can you tel me what I need to add to import the certificate automatically?Also, it hits the https service only when the certificate is manually imported to the java cacerts file and not my user defined keystore. Can you tel me what I am doing wrong Thanks, Preety -- View this message in

Re: camel http- to call https service does not import certificates automatically

2013-03-19 Thread santhosh
Your progam/code wont and its not coded that way.You have to update the keystore and truststore manually.Updating manually in sense i am assuming you mean keytool -import -keystore keystore.jks -file key.txt -alias xyz . -- View this message in context: http://camel.465427.n5.nabble.com/came