Hi, Iam a new member into this forum.
Issue:
I have to integrate openssl in my project.project is implemented with gsoap.
in "r = SSL_connect(soap->ssl)) <= 0)" SSL_connect call is unable to make a connection to the server.Both server and client are in local host
I see server is ready to accept the connections, as I see below connection established with netstat command:
TCP cspxppgudepu:15000 cspxppgudepu.com:0 LISTENING TCP cspxppgudepu:15000 localhost:2864 ESTABLISHED
Above 15000 port is for server.
Below is client connection: TCP cspxppgudepu:16000 cspxppgudepu.com:0 LISTENING
But SSL_connect is unable to connect.It is always failing with return code -1 & err 2.
With out SSL connection,simple TCP conection, both ends are able to connect and communicate. Below network configuration settings for without SSL
My network configuration settings for with openssl:
<NetworkConfig>
<Server Location="https://127.0.0.1:15000" />
<Client Location="https://127.0.0.1:16000" />
I have taken both client & server authentication to false.
Thanks in advance. Pradeep Reddy.