Hi, After some fight, I am able to make the connection.I have taken both server and client authentication as false SOAP_SSL_REQUIRE_CLIENT_AUTHENTICATION & SOAP_SSL_REQUIRE_SERVER_AUTHENTICATION to false.But SSL_Conect & SSL_accept are failing with errors "*** error:00002733:lib(0):func(2):reason(1843)" & "*** SSL_ERROR_SSL *** SSL_ERROR_SSL error:1408A0C1:lib(20):func(138):reason(193) Error 30 fault: SOAP-ENV:Server [no subcode] "Error observed by underlying BIO: No such file or directory" Detail: SSL_accept() failed in soap_ssl_accept()" respectively.I provided client.pem keyfile, though it is not required as authentication is set to false.Please let me know your thoughts.
pradeepreddy wrote: > > Hi, > > An update, > > SSL_connect is failing with SSL_ERROR_WANT_READ.I understand that client > is waiting on server to write some data.But I dont understand what to > change code in server side. > > > pradeepreddy wrote: >> >> Hi, >> Iam a new member into this forum. >> >> Issue: >> >> I have to implement 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. >> >> With out SSL connection,simple TCP conection, both ends are able to >> connect and communicate. >> >> My network configuration settings are: >> >> <NetworkConfig> >> <Server Location="https://127.0.0.1:15000" /> >> <Client Location="https://127.0.0.1:16000" /> >> >> >> Thanks in advance. >> Pradeep Reddy. >> >> >> > > -- View this message in context: http://old.nabble.com/OPENSSL-SSL_Connect-blocking-tp29708086p29717770.html Sent from the OpenSSL - Dev mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
