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

josealf at rocketmail.com josealf at rocketmail.com
Tue Apr 12 02:34:10 CEST 2011

Maybe SSLv3 and 512 byte RSA keys are not compatible? ie, too short...

Which OS are you using?

-----Original Message-----
From: Yucong Sun (叶雨飞) <sunyucong at gmail.com>
Sender: stunnel-users-bounces at stunnel.org
Date: Mon, 11 Apr 2011 15:57:50 
To: <stunnel-users at stunnel.org>
Subject: Re: [stunnel-users] Weird error when trying to use 512bit RSA key

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.
stunnel-users mailing list
stunnel-users at stunnel.org

More information about the stunnel-users mailing list