SSL_accept hangs... sometimes ( C, linux, openssl )
Posted
by zbigh
on Stack Overflow
See other posts from Stack Overflow
or by zbigh
Published on 2010-04-07T12:09:28Z
Indexed on
2010/04/07
12:13 UTC
Read the original article
Hit count: 207
I'm currently working on an embedded linux system. There are two crucial client applications on the system that connect to an external server ( on another embedded system, all written in C ). The two apps use different certificates.
The ssl connection works... At least usually, but from time to time an error occures: the server hangs on SSL_accept() when accepting connection from one of the applications - the one using older certificates. Restarting the server application does not help, nor does restarting the client - the only way is to reboot the server system, unless I create a symbilic link to the new certificates used by the other app - only then will restarting the server app work.
Never does the error occur when both applications use the same, new certificate.
Could this happen due to some strange openssl cache or something like that?
© Stack Overflow or respective owner