Hi,
i'm using SocketW for OpenSSL, and I mailed the developer there already today,
but I need an answer as soon as possible, as I have a severe bug (in mine or
his code, I'm not sure :-/):
I'm building a central logging and management system with security analysis
capabilities for my master thesis. For the communication, I'd like to use
SSL, and so I found SocketW.
Implementation went very well and quite easy, however, I stumbled over a
annoying bug:
First of all: both clients and server have their own certificates (two way
check).
When my clients wake up, they tell the server that they are there over an SSL
connection, so far so good. The connection is closed and thereafter, the
clients update the server every minute and when leaving the system. However,
when trying to connect for the second time, I get an error:
SWSSLSocket::use_cert_cb() on file /etc/alkyone/client.crt
error:08067065:object identifier routines:OBJ_nid2obj:unknown nid!
The crash happens on this line:
socket.use_cert_passwd("/etc/alkyone/client.crt", "/etc/alkyone/client.key",
"pwd");
Adapting the client to open and close the same socket over and over again
results in a server crash (I assume the server tries to resume the earlier
connection, but fails to do that).
Is this a bug? Or is there a way to do it without crashing? (Freeing some
other objects too or something like that I suppose...)
Thanks in advance,
Erwin Van de Velde
Student of University of Antwerp
Belgium
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]