Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Prabhu S
Hi Vishal, If the error is in SSL_connect(), try analysing the return value of the method by using the SSL_get_error(). It provides insight to the failures in handshake. Regards, Prabhu. S On 6/15/07, Vishal V [EMAIL PROTECTED] wrote: Dear Zack, Thanks for your inputs but I think the

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Vishal V
Hi Prabhu, As suggested in your mail below, I am going to investigate the matter. but before that, here is the complete error dump Any insight

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Lutz Jaenicke
Vishal V wrote: Dear Zack, Thanks for your inputs but I think the problem lies somewhere else Please see the analysis result below *1. Telnet Result:* Servertelnet remote_server.com 8444 Trying 140.11.111.11... *Connected to remote_server.com.* Escape character is '^]'. Connection

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Vishal V
Dear Lutz, Thanks for the insight. Well it took about 1 minute after which the connection got closed. So that means the connection got timed out - And Please see below the

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Lutz Jaenicke
Vishal V wrote: Dear Lutz, Thanks for the insight. Well it took about 1 minute after which the connection got closed. So that means the connection got timed out - And

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Vishal V
Dear Lutz, Thanks once again for your patience. It now seems to me that we are on the the same level of thinking as far as the problem is concerned. - Quoted text (from your mail):

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Lutz Jaenicke
Vishal V wrote: Dear Lutz, Thanks once again for your patience. It now seems to me that we are on the the same level of thinking as far as the problem is concerned. - Quoted text

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-15 Thread Prabhu S
Vishal, The client needs to have the appropriate CA certificate to verify the server certificate. Load the CA cert to the context object using SSL_CTX_load_verify_locations() . Regards, Prabhu. S On 6/15/07, Lutz Jaenicke [EMAIL PROTECTED] wrote: Vishal V wrote: Dear Lutz, Thanks once

SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-14 Thread Vishal V
Hi Experts, I am a newbie with SSL/ gSOAP and would like your help in the problem described below Problem Statement Program stops with error during process of connection establishment with the secured server Requirement: Use gSOAP to connect with a secure site from a C++

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-14 Thread Zack Payton
Sounds to me like a network problem. Try to telnet to the server you are trying reach on whichever port to validate network connectivity. netcat also works very well for general tcp testing. socat/stunnel are also very useful for network testing with ssl connections. Good Luck! Z On 6/14/07,

Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris

2007-06-14 Thread Vishal V
Dear Zack, Thanks for your inputs but I think the problem lies somewhere else Please see the analysis result below 1. Telnet Result: Servertelnet remote_server.com 8444 Trying 140.11.111.11... Connected to remote_server.com. Escape character is '^]'. Connection closed by foreign host. Does it