Re: [openssl-users] ssl_accept failure

2018-10-26 Thread Skip Carter
On Fri, 2018-10-26 at 10:07 +0100, Matt Caswell wrote: > How did you generate this error string? It looks like you might have > taken the return value (5) from SSL_get_error() and stuffed it into > ERR_error_string() or a similar function. That would give you output > like this - but is the incorr

Re: [openssl-users] ssl_accept failure

2018-10-26 Thread Matt Caswell
On 24/10/2018 23:34, Skip Carter wrote: > I have a server-side application that fails when some clients connect: > > waiting for SSL accept()... > SSL_accept() (0) failure -1 > SSL_accept() (1) failure 5 How did you obtain the error number 5? Is this the return value from SSL_get_error()? If so

Re: [openssl-users] ssl_accept failure

2018-10-25 Thread Skip Carter
On Thu, 2018-10-25 at 19:58 +0200, Jakob Bohm via openssl-users wrote: > First, note the OpenSSL FAQ about how to turn on readable error > messages. I am already using the ERR_error_string(), but the result is still opaque to me. Error string : error:0005:lib(0):func(0):DH lib  The FAQ says

Re: [openssl-users] ssl_accept failure

2018-10-25 Thread Jakob Bohm via openssl-users
On 25/10/2018 00:34, Skip Carter wrote: I have a server-side application that fails when some clients connect: waiting for SSL accept()... SSL_accept() (0) failure -1 SSL_accept() (1) failure 5 [DEBUG] Error string : error:0005:lib(0):func(0):DH lib SSL_accept() sockerrno is: 0 I think

[openssl-users] ssl_accept failure

2018-10-24 Thread Skip Carter
I have a server-side application that fails when some clients connect: waiting for SSL accept()... SSL_accept() (0) failure -1 SSL_accept() (1) failure 5 [DEBUG] Error string : error:0005:lib(0):func(0):DH lib SSL_accept() sockerrno is: 0 I think that something earlier failed silently and

Re: SSL_ACCEPT...!!! failure

2008-05-30 Thread Dominique Lohez
Vinni a écrit : Hello i am using SSL_CTX_load_verify_locations() to load the CA certs. I have another question that .. How actually the SSL_accept get the client certificate ?? Is its internal function also fetch the CA certificate of the client or it check the CA list of its own that is set

RE: SSL_ACCEPT...!!! failure

2008-05-30 Thread Vinni
Hello i am using SSL_CTX_load_verify_locations() to load the CA certs. I have another question that .. How actually the SSL_accept get the client certificate ?? Is its internal function also fetch the CA certificate of the client or it check the CA list of its own that is set by the above functi

RE: SSL_ACCEPT...!!! failure

2008-05-29 Thread Ambarish Mitra
vinni rathore a écrit : > > hi, > > i am stuck with the error "Unable to get local issuer certificate" and > then "SSL3_GET_CLIENT_CERTIFICATE: peer certificate not return". > > I have created my own certificates using Openssl.exe . I have created > CACert.pem which is self signed CA certificate

Re: SSL_ACCEPT...!!! failure

2008-05-29 Thread Dominique Lohez
Hi vinni, As a hint i will reformulate how i understand your problem The server cannot accept the client certificate because it cannot check that the certificate have been issued by a trusted CA. This arise because the CA certificate is not available so the questios are 1) Is the CA ce

SSL_ACCEPT...!!! failure

2008-05-29 Thread vinni rathore
hi, i am stuck with the error "Unable to get local issuer certificate" and then "SSL3_GET_CLIENT_CERTIFICATE: peer certificate not return". I have created my own certificates using Openssl.exe . I have created CACert.pem which is self signed CA certificate and then two other certificates one is C

Re: SSL_accept Failure error:FFFFFFFF:lib(255):func(4095):reason(4095)

2008-01-18 Thread Srinivas Gowda
x it throws the following error. I could not find > the reason string for error code 4095. > > return code from SSL_accept (rr = -1) SSL_get_error = 1 >SSL_accept Failure error::lib(255):func(4095):reason(4095) > Can you guide me how to handle this case ? Try to i

Re: SSL_accept Failure error:FFFFFFFF:lib(255):func(4095):reason(4095)

2008-01-17 Thread Marek . Marcola
code works for windows, but for linux it throws the following error. I could not find > the reason string for error code 4095. > > return code from SSL_accept (rr = -1) SSL_get_error = 1 >SSL_accept Failure error::lib(255):func(4095):reason(4095) > Can you guide me ho

SSL_accept Failure error:FFFFFFFF:lib(255):func(4095):reason(4095)

2008-01-17 Thread Srinivas Gowda
it throws the following error. I could not find the reason string for error code 4095. return code from SSL_accept (rr = -1) SSL_get_error = 1 SSL_accept Failure error::lib(255):func(4095):reason(4095) Can you guide me how to handle this case ? Thanks in advance Srinivas