So I can now see the Solaris side. It appears it gets "gibberish", probably encrypted data. Does anyone know why it would appear that the socket is not decrypting the data? This same code works fine on a Windows system.
SSL_ca_file: /opt/bf-567/Platform/keystore/CA.pem SSL_cert_file: /opt/bf-567/Platform/keystore/Cert.pem SSL_key_file: /opt/bf-567/Platform/keystore/Key.pem SSL_verify_mode: 0x01 SSL_version: TLSv1 SSL_cipher_list: ALL SSL_use_cert: 1 Making as SSL connection using socket IO::Socket::INET=GLOB(0x29bdfe8). SSL connection to agent. Socket is of type: ref(IO::Socket::SSL=GLOB(0x29bdfe8)) READ: ReadyLine: . Agent Connecting... READ: <gibberish on the wire> pbirk wrote: > > You are correct, it returns 0. RC=0 is a handshake failure? I think I > need to debug this on the Solaris side then. Which makes sense. Thanks > for the help! > > Calling SSL_accept. > SSL_accept rc=0 > Error code: 5 > error:00000000:lib(0):func(0):reason(0) > Error: SSL_ERROR_SYSCALL, errlist: No such file or directory > WSAGetLastError, rc=0 > > > David Schwartz wrote: >> >> >>> Calling SSL_accept. >>> Error code: 5 >>> error:00000000:lib(0):func(0):reason(0) >>> Error: SSL_ERROR_SYSCALL, errlist: No such file or directory >>> WSAGetLastError, rc=0 >>> >>> This is basically the APIs I call to get the above information. >>> >>> err = SSL_get_error(ssl, rc); >>> printf("Error code: %d", err); >>> ERR_error_string_n(ERR_get_error(), err_buf, sizeof(err_buf)); >>> printf("Error: %s", err_buf); >>> printf("Error: SSL_ERROR_SYSCALL, errlist: %s", sys_errlist[errno]); >>> printf("WSAGetLastError, rc=%d", WSAGetLastError()); >>> >>> Windows client -> Windows server (success).. >>> Solaris client -> Windows server (above error).. >> >> You leave out the most important piece of information -- what was the >> return >> value from SSL_accept?! None of your 'printf's include 'rc', which is the >> most important piece of information there is. >> >> If it's zero, as I suspect, then you're barking up completely the wrong >> tree. >> >> DS >> >> >> ______________________________________________________________________ >> OpenSSL Project http://www.openssl.org >> User Support Mailing List openssl-users@openssl.org >> Automated List Manager [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/SSL_ERROR_SYSCALL%2C-errlist%3A-No-such-file-or-directory-tp20329506p20332694.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]