Dear All,

Please look into this issue, it is boiling me since couple of days.
Please let me know if I am missing anything.

Thanks,
Pradeep reddy.

pradeepreddy wrote:
> 
> An Update:
> After adding SSL key & certificate things, new errors are thrown.
> Below are the SSL setings for server & client side:
> <ServerConfig isClientAuthenticationRequired="true" 
> KeyFileName="D://V2.0/Thirdparty//gsoap-2.7//gsoap//samples//ssl//server.pem"
> Password="password"
> OptionalCacertFile="D://V2.0//Thirdparty//gsoap-2.7//gsoap//samples//ssl//cacert.pem"
> OptionalPath="D://V2.0//Thirdparty//gsoap-2.7//gsoap//samples//ssl"
> DHFile="" RandFile="" SeverIdentification="sslserver"/>
> -----------------&&-----------------------
> <ClientConfig isServerAuthenticationRequired="false" 
> KeyFileName="D://V2.0/Thirdparty//gsoap-2.7//gsoap//samples//ssl//client.pem"
> Password="password"
> OptionalCacertFile="D://V2.0//Thirdparty//gsoap-2.7//gsoap//samples//ssl//cacert.pem"
> OptionalPath="D://V2.0//Thirdparty//gsoap-2.7//gsoap//samples//ssl"
> RandFile=""/>
> 
> 
> But SSL_accept & SSL_Connect are failing with "*** SSL_ERROR_WANT_READ
> *** SSL_ERROR_SYSCALL
> Error 30 fault: SOAP-ENV:Server [no subcode]
> "EOF was observed that violates the protocol. The client probably provided
> inval
> id authentication information."
> Detail: SSL_accept() failed in soap_ssl_accept()" and "
> *** error:00002733:lib(0):func(2):reason(1843)".
> 
> I dont understand what is preventing from server to read even after
> connection is established.The crypto graphic parametrs are created with
> openssl today.So I dont point any mistake in them.Please provide some
> light.Thanks in advance.
> 
> pradeepreddy wrote:
>> 
>> 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-tp29708086p29728285.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to