Sifmole has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,

Specifically I am looking for a library that provides an interface to ( or performs the functions of ) the SSL_CTX library of methods. I need to implement a "Logout" of a webserver authorization that is based on a SSL certificate authorization.

From everything I have found it appears that I need to be able to do a SSL_CTX_remove_session() or a maybe an SSL_renegotiate(). I have not been able to turn anything up and am in need of help.

Anybody have any information to spare?

  • Comment on Is there a library that provides an interface to SSL_CTX functions?

Replies are listed 'Best First'.
Re: Is there a library that provides an interface to SSL_CTX functions?
by gaal (Parson) on Nov 18, 2004 at 04:59 UTC
    IO::Socket::SSL has an option to close that force-frees the SSL context (vgrep for "ctx"). Is that good enough, or do you need to keep the socket but get a new session on top of it? I'm not an expert, but it would seem that if you're renegotiating crypto then also tearing down and building a new TCP connection shouldn't be to bad.