Re: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

2012-05-17 Thread Luke Carpenter
I am getting the same problem (various SSL errors after a successful negotiation) with an SMTP server I've written in Ruby, and I'm stuck with it I've resorted to tracing through the Postfix SSL/TLS code to see how they handle it, and it looks like they just keep retrying the operation until its s

Re: Upgrading OPENSSL

2012-04-24 Thread Luke Carpenter
I would not advise attempting that, Apache is compiled against a version of OpenSSL, and simply swapping out the binaries Indiana-Jones style will probably land you with a segfault >From a preliminary search, it looks like you will need to re-compile the Apache module mod_ssl against a later versi

"SSLv3 bad record mac" with Ruby OpenSSL

2012-04-24 Thread Luke Carpenter
Hi, I am attempting to implement the STARTTLS extension (RFC 3207) for SMTP in Ruby, and I'm not getting very far because, if I'm perfectly honest, I don't know my way around OpenSSL, nor SSL itself. My aim is to allow a SMTP to open a standard TCP socket, send "STARTTLS", the server and client i