Discussion:
openssl sess_id failed
yu.wang
2014-09-12 07:14:40 UTC
Permalink
Dear Sir,

我应甚的openssl版本䞺openssl1.0.1i平台䞺rtems操䜜系统我圚䜿甚
openssl 给 http 眑络通信过皋䞭䌚出现劂䞋错误

error:140B512D:SSL routines:ssl_get_new_session:ssl session id
callback failed

我䞍知道这是什么原因造成的䜆是我同样的采甚04幎的openssl0.9.7d完党
可以运行过去没有错误。

期埅悚的解答

Thanks 

Best Regards,
yu.wang
Tel: 18817881895
Thulasi Goriparthi
2014-09-15 07:15:46 UTC
Permalink
Assuming you are not using your own session id generation callback
function, I guess there is something wrong with your rand function/method
which is not able to generate a unique session id in 10 attempts.

-- Debug def_generate_session_id function in ssl/ssl_sess.c
-- Debug RAND_pseudo_bytes and see if it is really generating rand bytes.
See if you have seeded the rand function or not.

Thanks,
Thulasi.
Post by yu.wang
Dear Sir,
我应甚的openssl版本䞺openssl1.0.1i平台䞺rtems操䜜系统我圚䜿甚openssl 给 http
眑络通信过皋䞭䌚出现劂䞋错误
error:140B512D:SSL routines:ssl_get_new_session:ssl session id
callback failed
我䞍知道这是什么原因造成的䜆是我同样的采甚04幎的openssl0.9.7d完党可以运行过去没有错误。
期埅悚的解答
Thanks 
Best Regards,
yu.wang
Tel: 18817881895
Loading...