Re: [openssl-users] SSL_accept error code

2016-03-08 Thread Yan, Bob
-users] SSL_accept error code On 08/03/16 01:04, Yan, Bob wrote: > Hi All, > > I have a SSL server application which use SSL_accept to accept the > connections from client, see the code below: > > int retcode = SSL_accept(mSsl); > unsigned long error = SSL_ge

Re: [openssl-users] SSL_accept error code

2016-03-08 Thread Matt Caswell
On 08/03/16 01:04, Yan, Bob wrote: > Hi All, > > I have a SSL server application which use SSL_accept to accept the > connections from client, see the code below: > > int retcode = SSL_accept(mSsl); > unsigned long error = SSL_get_error(mSsl, retcode); > ERR_error_string_n(error, errmsg, sizeo

[openssl-users] SSL_accept error code

2016-03-07 Thread Yan, Bob
Hi All, I have a SSL server application which use SSL_accept to accept the connections from client, see the code below: int retcode = SSL_accept(mSsl); unsigned long error = SSL_get_error(mSsl, retcode); ERR_error_string_n(error, errmsg, sizeof(errmsg)); When something w

SSL_accept error on AIX multithreads server application

2014-04-04 Thread Hong Ju
Hello, We used gsoap server with openssl in our application server and encountered SSL_accept error when the server threads was pooled to limit the number of threads serving the requests simultaneously. Here is the excerpt of our log: Request #1 accepted on socket 4 connected from IP

RE: OpenSSL SSL_Accept Error

2011-04-14 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Harshvir Sidhu > Sent: Wednesday, 13 April, 2011 08:29 > Server is Single Threaded and is handling all the connections > in while(1) loop, the sockets are blocking but I am using FD_SET options, > not sure if that could be in

Re: OpenSSL SSL_Accept Error

2011-04-13 Thread Harshvir Sidhu
line makes > sense, > > > but why its giving this SSL alert number 20. > > Not able to find anything useful for this. > > > I am trying to write the server side code using OpenSSL. > > I am getting the following error on SSL_Accept. > > error:1408

RE: OpenSSL SSL_Accept Error

2011-04-12 Thread Dave Thompson
> but why its giving this SSL alert number 20. > Not able to find anything useful for this. > I am trying to write the server side code using OpenSSL. > I am getting the following error on SSL_Accept. > error:1408F119::decryption failed or bad record mac s_cl

Re: OpenSSL SSL_Accept Error

2011-04-12 Thread Harshvir Sidhu
at 10:08 AM, Harshvir Sidhu wrote: > Hi, >I am trying to write the server side code using OpenSSL. >I am getting the following error on SSL_Accept. >error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad > record mac > >I tried to google on this,

OpenSSL SSL_Accept Error

2011-04-12 Thread Harshvir Sidhu
Hi, I am trying to write the server side code using OpenSSL. I am getting the following error on SSL_Accept. error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac I tried to google on this, everywhere they were mentioning that there was some build error

Re: SSL_accept error: smtpd client alert 48

2009-12-20 Thread Victor Duchovni
On Fri, Dec 18, 2009 at 07:56:05PM -0500, Dave Thompson wrote: > > On postfix 2.5.7 running on Red Hat Enterprise Linux AS release 4 > (Nahant Update 8) I've > > got the following error message: > > > SSL_accept error from 85-18-95-44.ip.fastwebnet.i

RE: SSL_accept error: smtpd client alert 48

2009-12-20 Thread Dave Thompson
n Red Hat Enterprise Linux AS release 4 (Nahant Update 8) I've > got the following error message: > SSL_accept error from 85-18-95-44.ip.fastwebnet.it[85.18.95.44]: 0 > SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca:s3_pkt.c:1052:SSL alert number 48: This is FROM t

SSL_accept error

2009-12-18 Thread Pietro Romanazzi
p TLS connection from 85-18-95-44.ip.fastwebnet.it[85.18.95.44] Dec 15 12:09:57 lin2a postfix/smtpd[14097]: SSL_accept error from 85-18-95-44.ip.fastwebnet.it[85.18.95.44]: 0 Dec 15 12:09:57 lin2a postfix/smtpd[14097]: warning: TLS library problem: 14097:error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1

Re: SSL_accept error, but I don't know is wrong exactly

2009-06-18 Thread Jelle de Jong
Victor Duchovni wrote: > On Wed, Jun 17, 2009 at 02:51:10PM -0700, Kyle Hamilton wrote: > >> This isn't really an OpenSSL issue, and I'd suggest asking for help >> from people who are more familiar with postfix. However... > > That's what I told him on the Postfix-users list, but he chose > to c

Re: SSL_accept error, but I don't know is wrong exactly

2009-06-17 Thread Victor Duchovni
On Wed, Jun 17, 2009 at 02:51:10PM -0700, Kyle Hamilton wrote: > This isn't really an OpenSSL issue, and I'd suggest asking for help > from people who are more familiar with postfix. However... That's what I told him on the Postfix-users list, but he chose to come here anyway, despite my best ef

Re: SSL_accept error, but I don't know is wrong exactly

2009-06-17 Thread Kyle Hamilton
This isn't really an OpenSSL issue, and I'd suggest asking for help from people who are more familiar with postfix. However... The log says that none of the names matched: Jun 15 13:57:46 emily postfix/smtpd[23401]: SSL_accept error from sepaip2.webish.nl[77.243.228.161]: -1 Jun 1

Re: SSL_accept error, but I don't know is wrong exactly

2009-06-17 Thread Jelle de Jong
no(props->stream), props->timeout, >> TLScontext); >> if (sts <= 0) { >> msg_info("SSL_accept error from %s: %d", props->namaddr, sts); >> tls_print_errors(); >> tls_free_context(TLScontext); >>

SSL_accept error, but I don't know is wrong exactly

2009-06-16 Thread Jelle de Jong
TLScontext); > if (sts <= 0) { > msg_info("SSL_accept error from %s: %d", props->namaddr, sts); > tls_print_errors(); > tls_free_context(TLScontext); > return (0); > > This means that the OpenSSL library error stack did

SSL_accept error, but I don't know is wrong exactly

2009-06-16 Thread Jelle de Jong
TLScontext); > if (sts <= 0) { > msg_info("SSL_accept error from %s: %d", props->namaddr, sts); > tls_print_errors(); > tls_free_context(TLScontext); > return (0); > > This means that the OpenSSL library error stack did

Asynchronous SSL_accept error. Openssl documentation not clear.

2008-11-28 Thread BiGNoRm6969
; SSL_set_fd(ssl, mySocket); int err = SSL_accept(ssl); Note: My client use asynchronous socket and everything works well if my server use normal socket (without BIO code); -- View this message in context: http://www.nabble.com/Asynchronous-SSL_accept-error.-Openssl-documentation-not-clear.-tp2

RE: Non-blocking windows socket cause SSL_accept error (SSL_ERROR_WANT_READ)

2008-11-26 Thread BiGNoRm6969
omated List Manager [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Non-blocking-windows-socket-cause-SSL_accept-error-%28SSL_ERROR_WANT_READ%29-tp20663587p20666975.html Sent from the OpenSSL - User mailing list archive a

RE: Non-blocking windows socket cause SSL_accept error (SSL_ERROR_WANT_READ)

2008-11-24 Thread David Schwartz
> SSL_accept always returns < 0 error. With SSL_get_error I found that the > error is SSL_ERROR_WANT_READ. > During debugging and troubleshooting, I realised that when I use "normal" > blocking windows socket, SSL_accept works fine. > > Why using non-blocking windows socket caused that error ? Th

Non-blocking windows socket cause SSL_accept error (SSL_ERROR_WANT_READ)

2008-11-24 Thread BiGNoRm6969
ror ? Thanks. -- View this message in context: http://www.nabble.com/Non-blocking-windows-socket-cause-SSL_accept-error-%28SSL_ERROR_WANT_READ%29-tp20663587p20663587.html Sent from the OpenSSL - User mailing list archive

Re: Sporadic SSL_accept error: decryption failed

2006-11-27 Thread Cruise Zou
dshake could be completed by SSL_accept(). Excuse me! Cédric Pillonel -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Chris Covington Sent: Friday, November 24, 2006 2:37 PM To: openssl-users@openssl.org Subject: Re: Sporadic SSL_accept error: decryption

RE: Sporadic SSL_accept error: decryption failed

2006-11-24 Thread Cedric.Pillonel
Behalf Of Chris Covington Sent: Friday, November 24, 2006 2:37 PM To: openssl-users@openssl.org Subject: Re: Sporadic SSL_accept error: decryption failed On 11/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > I am using openssl 0.9.7a running on Linux RedHat 9.0. Maybe yo

Re: Sporadic SSL_accept error: decryption failed

2006-11-24 Thread Chris Covington
On 11/24/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, I am using openssl 0.9.7a running on Linux RedHat 9.0. Maybe you should try using a recent version and seeing if the problem still persists? Chris __ OpenSSL Pro

Sporadic SSL_accept error: decryption failed

2006-11-24 Thread Cedric.Pillonel
Hello, I have written a little client/server C application establishing SSL connections. On the client's side I use 'SSLv23_client_method()' and on the server's side 'SSLv23_server_method()' to support all SSL versions. Sometimes I get the following errors on the server's side: 26782:error:140

Re: SSL_accept error ...confused

2006-01-04 Thread Dr. Stephen Henson
On Wed, Jan 04, 2006, Samy Thiyagarajan wrote: > Hi, > > I still cudnt get rid of the error > > SSL3_GET_CLIENT_HELLO:no shared cipher:s3_srvr.c:888 > > I have given below the code. I understansd that I missed something or Im > wrong with the logic itself. Can some make thigns clear? It wo

SSL_accept error ...confused

2006-01-04 Thread Samy Thiyagarajan
Hi, I still cudnt get rid of the error SSL3_GET_CLIENT_HELLO:no shared cipher:s3_srvr.c:888 I have given below the code. I understansd that I  missed something or Im wrong with the logic itself.  Can some make thigns clear? It would be of GREAT help.     SSL*

Re: SSL_accept error... need help

2006-01-03 Thread Bernhard Froehlich
Samy Thiyagarajan wrote: hi, I am testing a basic (an echo)TLS server with the openSSL client s_client. I get the following error [...] Have you checked the samples available on http://www.opensslbook.com/code.html ? If I remember it right there are code samples for a SSL server which mi

SSL_accept error... need help

2006-01-03 Thread Samy Thiyagarajan
hi, I am testing a basic (an echo)TLS server with the openSSL client s_client. I get the following error   server side : SSL3_GET_CLIENT_HELLO:no shared cipher:s3_srvr.c:888 client side: SSL_23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:489 I use SSLv23 as my method in the context

Re: RE : SSL_accept error

2003-11-14 Thread Jason Jesso
OK. I found it. I had the listening socket as the socket to SSL_set_fd. That's wrong. I meant to pass the accepted socket. Thanks Jason Jesso wrote: In a nutshell, this is what I have in a "ServerSocket" C++ class. sslContext = SSL_CTX_new( SSLv23_server_method() ); if

Re: RE : SSL_accept error

2003-11-14 Thread Jason Jesso
In a nutshell, this is what I have in a "ServerSocket" C++ class. sslContext = SSL_CTX_new( SSLv23_server_method() ); if ( sslContext == NULL ){ if ( sslErrorLog ) ERR_print_errors_fp( sslErrorLog ); BUG0( throwing JJSocketException - 4 )

RE : SSL_accept error

2003-11-14 Thread Francis.Vanhemmens
Did you do something like : SSL_METHOD *meth = NULL; .// do some inits, maybe even mutlithread support . // load error strings, load algorithms . meth = SSLv3_server_method(); // operational implementation of accept is in there. if (SSL_CTX_new(meth)) if you are both server and

Re: SSL_accept error

2003-11-13 Thread Brian Hatch
> One more thing. > > The error string is: > > "error:0002:lib(0):func(0):system lib" Suggest you call ERR_load_error_strings() and/or SSL_load_error_strings() so those become humanly readable... -- Brian Hatch Time flies like an Systems and

Re: SSL_accept error

2003-11-13 Thread Jason Jesso
One more thing. The error string is: "error:0002:lib(0):func(0):system lib" Thanks Jason Jesso wrote: My call to SSL_accept is giving a ERR_LIB_SYS. What could be causing this? I wrote other applications on the same host that use the same code and it works fine. The application that'

SSL_accept error

2003-11-13 Thread Jason Jesso
My call to SSL_accept is giving a ERR_LIB_SYS. What could be causing this? I wrote other applications on the same host that use the same code and it works fine. The application that's giving me this error is written in C++ and the one that works is written in C. __

Re: SSL_accept error handling

2001-08-08 Thread Lutz Jaenicke
On Wed, Aug 08, 2001 at 10:58:54AM +0100, Garrard Cole wrote: > At 18:52 07/08/01 +0200, you wrote: > >On Tue, Aug 07, 2001 at 05:28:25PM +0100, Garrard Cole wrote: > >> I include a code fragment below for the server accept function, which is > >> based on some OpenSSL sample code. > >> > >> I do

Re: SSL_accept error handling

2001-08-08 Thread Garrard Cole
At 18:52 07/08/01 +0200, you wrote: >On Tue, Aug 07, 2001 at 05:28:25PM +0100, Garrard Cole wrote: >> I have an SSL-enabled POP server using OpenSSL 0.9.4. running on Windows NT >> using non-blocking socket i/o. > >0.9.4 is quite old, a lot of bugs have been fixed since the release of 0.9.4. >Plea

Re: SSL_accept error handling

2001-08-07 Thread Lutz Jaenicke
On Tue, Aug 07, 2001 at 05:28:25PM +0100, Garrard Cole wrote: > I have an SSL-enabled POP server using OpenSSL 0.9.4. running on Windows NT > using non-blocking socket i/o. 0.9.4 is quite old, a lot of bugs have been fixed since the release of 0.9.4. Please upgrade to 0.9.6b. > One particular cu

SSL_accept error handling

2001-08-07 Thread Garrard Cole
I have an SSL-enabled POP server using OpenSSL 0.9.4. running on Windows NT using non-blocking socket i/o. One particular customer has their POP client (Eudora 5.1) setup to check mail every minute. After about an hour or so, the customer receives a connection failure and the server log shows the

RE: update: SSL_accept error error:0B07C065 - help !!!

2000-05-26 Thread Wade L. Scholine
This is a FAQ. See http://www.openssl.org. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 25, 2000 1:06 PM > To: [EMAIL PROTECTED] > Subject: update: SSL_accept error error:0B07C065 - help !!! > > > > >

update: SSL_accept error error:0B07C065 - help !!!

2000-05-25 Thread Naveen_Malhotra
a/New York/ACMC on 05/25/2000 01:01 PM --- Naveen Malhotra 05/24/2000 03:19 PM To: [EMAIL PROTECTED] cc: Subject: SSL_accept error error:0B07C065 - help !!! Hi Guys, I am new to OpenSSL and I apologise if this is trivial. I am trying to set up NFS over SSL using ce

Re: [OPENSSL-USERS] SSL_accept error

1999-05-10 Thread Paco Orozco
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again, Thank Michael Portz for your answer... >1. put the certificate into the SSL basedir (/usr/local/ssl) > and name it cert.pem (..wasnt it..not sure about the name > anymore although it IS important..)) >2. put a link to the certificate

Re: [OPENSSL-USERS] SSL_accept error

1999-05-09 Thread Michael Portz
Francisco Orozco Cees wrote: > > Hiya, > > I'm trying to authenticate using SSLeay-0.9.0b and SSL-MZTelnet 0.11.2. > I'd like to be able to access to my server without supply any password, > so i'm trying to authenticate via certs. > > I'm running telnetd as: > > telnetd -z debug -z ssl -z cer

[OPENSSL-USERS] SSL_accept error

1999-05-07 Thread Francisco Orozco Cees
B NetClose: calling SSL_shutdown. Connection closed by foreign host. On servers side I read telnetd[400]: SSL_accept error error:14094418:SSL routines SSL3_READ_BYTES:reason(1048) Please, Can you help me? __