[stunnel-users] Weird error when trying to use 512bit RSA key
Yucong Sun (叶雨飞)
sunyucong at gmail.com
Wed Mar 30 22:16:22 CEST 2011
I'm trying to use EXP-RC4-MD5 cipher to acclerate the ssl handshake,
because it only needs a 512bit RSA key.
However, it will error out with
Mar 29 03:54:41 localhost stunnel: LOG3[28313:139721592907520]:
SSL_accept: 1409B11A: error:1409B11A:SSL
routines:SSL3_SEND_SERVER_KEY_EXCHANGE:error generating tmp rsa key
which is very weird, I tried to lookinto the code, find out we are
using RSA_gen_key_ex() calls, which key size shouldn't matter,
does anyone else have a better idea why?
More information about the stunnel-users