share session cache between processes

2006-01-30 Thread Ning Ke
Hi, Can I share session cache between two processes that each create its own SSL_CONTEXT? The two process then simply call SSL_CTX_set_session_id_context() passing the same sid_ctx? The following paragraph in the documentation seems to indicate that this is not safe. Is this true? http://www.ope

Re: Using OpenSSL over a high level peer-to-peer middleware

2005-10-19 Thread Ning Ke
> How feasible is it to use OpenSSL's SSL library to generate the raw data > that is to be sent through the transport layer independent of the > latter's implementation ? And read this data on the other end... openSSL library uses the BIO abstraction for IO operations. You could use a memory BI

How do I restart the same SSL session after calling SSL_shutdown()?

2005-10-18 Thread Ning Ke
Hi! II want to restart the same SSL session after calling SSL_shutdown(). I tried the following but it got stuck at SSL_connect(). I wonder if I can do either of the following on the client: 1) Call SSL_shutdown() but then reuse the same SSL object for a later SSL_connect(). or 2) Call SSL_shu

SSL_do_handshake

2005-10-05 Thread Ning Ke
Hi! What's the difference between SSL_do_handshake and SSL_connect/SSL_accept? Thanks, Ning