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 problem lies somewhere else Please see the analysis result below *1. Telnet Result:* Server>>telnet remote_server.com 8444 Trying 140.11.111.11... *Connected to remote_server.com.* Escape character is '^]'. Connection closed by foreign host. Does it mean that the the connectivity OK (Please see Brown Bold text above). Kindly suggest *2. Ping Result* ping remote_server.com remote_server.com is alive Regards, Vishal Vashishta *"Zack Payton" <[EMAIL PROTECTED]>* Sent by: [EMAIL PROTECTED] 06/14/2007 08:07 PM Please respond to openssl-users@openssl.org To openssl-users@openssl.org cc Subject Re: SSL: Not Able to Connect with Secure Site from C++ / Solaris 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, *Vishal V* <[EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: 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++ program in Solaris box SSL library: openssl library (0.9.7) * Error:* *"SSL connect failed in tcp_connect()"* On further investgation it is found to return from method SSL_connect * Query:* 1. Is there any certifiacate required from the web server before connectivity? 1.1 If so then how to use this certificate 2. Am I missing any other step too? Please mail back in case further is required. Thanks in advance Regards, Vishal Vashishta =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ForwardSourceID:NT000160C2 =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you