
April 15, 2005
5:29 a.m.
On Wed, 2005-04-13 at 12:37 +1000, Steve Smith wrote:
Hi,
How do I retrieve the SSL context for a given protocol session object?
For the public record I haven't been able to find a straightforward way to do this, as the connection discards the SSL context it creates after passing it to OpenSSL. However the alternative is to use a TLS negotiation within the protocol (aka 'STARTTLS') which gives you more control over the handshaking phase. I've placed some notes and example code here: http://wiki.vislab.usyd.edu.au/moin.cgi/SSLCertNotes Cheers, Steve