[Box Backup] TLS Handshake problem in my OS2 port
Thu, 3 Nov 2005 09:35:04 +0000
On 3 Nov 2005, at 09:31, Dave Bamford wrote:
> I have sucessfully compiled the OS2 port of version 0.09
> But I cannont get the client and server to Handshake
> the error message I get is
> [localhost] Nov 3 09:18:09 bbackupd:
> TRACE: Exception thrown: ConnectionException
> (Conn_TLSHandshakeFailed) at SocketStreamTLS.cpp(230)
> the relevant line is
> r = ::SSL_connect(mpSSL);
> On further investigation I find that SSL_error is returning error 5
> r=-1 and the
> error queue is 0
> From the docs this indicates a BIO problem, but I can't find it.
> perhaps its in the socket implimentaion on OS2, somewhere between
> WIN and Unix. However they must be partially working as it would never
> have got that far.
> I am stuck and I have asked for help from the OS2 porting community,
> but perhaps there is someone on this list who may be able to help.
Check the certificates you're using. Remember you need certificates
signed by the CA at the other end, at both ends, and the certificates
must be valid for the current date (check your clock).