Marek Marcola wrote:
>[EMAIL PROTECTED] writes:
For the moment, i have a kind of supervisor which,
accept a connection, read some datas on the socket and
then start the process which is able to handle this
datas. ( using createprocess/execv). The socket's
handle is shared to this process and therefor the
process is able to exchange datas with the client.


Now i want  my application to use SSL_V3. But it looks
like there is a problem, as it seems there is no way
to share an SSL session between diferents process.

I really hope that there is a way to do it. And i
would be very happy if someone can help me.

Marek is correct. An SSL session is stateful and the encyption employed can be stateful too (CBC). So what you are asking is for that two now independant SSL handles to both be able to send and receive data to a single endpoint at the other side.

If you step back for a moment, the purpose of an SSL session is to have a single _PRIVATE_ channel of communication between the two endpoints. Sharing goes directly against the privacy part.


Rethink your design or your requirement for SSL.

Darryl
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to