[stunnel-users] Weird error when trying to use 512bit RSA key

Yucong Sun (叶雨飞) sunyucong at gmail.com
Tue Apr 12 00:57:50 CEST 2011

Ping, is there someone knowledgeable with openssl to point me where
should I look? This sounds really simple to work out, just I don't
know where to look.


On Wed, Mar 30, 2011 at 1:16 PM, Yucong Sun (叶雨飞) <sunyucong at gmail.com> wrote:
> Hi there,
> I'm trying to use EXP-RC4-MD5 cipher to accelerate 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?
> Cheers.

More information about the stunnel-users mailing list