Error: digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key

2,143 views
Skip to first unread message

Egor N

unread,
Aug 1, 2013, 3:13:04 AM8/1/13
to appfog...@googlegroups.com
Hello.

I'm doing a simple https.get request to https://chrome.google.com/ and receive this error in ".on('error', function(e){...})":
140148759717696:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:

The app works just fine on my Ubuntu 13.04 + Node v0.10.15. Do you have any advice on solving this problem?
Message has been deleted

Egor N

unread,
Aug 1, 2013, 3:17:18 AM8/1/13
to appfog...@googlegroups.com
It seems like it was a problem in Node v0.8.4 - v0.8.22. So does anyone know a workaround?

четверг, 1 августа 2013 г., 10:13:04 UTC+3 пользователь Egor N написал:

Lari H

unread,
Aug 7, 2013, 5:03:14 PM8/7/13
to appfog...@googlegroups.com
Hi,

Until AppFog updates the node runtime to something greater than 0.8.22, you can use node06, assuming that you don't specifically need node08.

af push --runtime=node06 [appname]

Notice that you need to define the runtime when the app is installed, so if you want to change it, you have to remove the app from AppFog first.

-Lari

Martin Bartusek

unread,
Oct 13, 2013, 10:47:17 AM10/13/13
to appfog...@googlegroups.com
thanks, exactly same is happening to me.

Dne středa, 7. srpna 2013 23:03:14 UTC+2 Lari H napsal(a):

Tracy Trathen

unread,
Nov 7, 2013, 5:36:39 PM11/7/13
to appfog...@googlegroups.com
Technically we only support up to 8.1.14 (see this link here:  https://docs.appfog.com/languages/node#node-supported-versions ) but your best bet is to ALWAYS make sure your local version matches what we support. I know some have had success in using other runtimes and then pushing with a specific runtime, but others have had errors when doing so, and they almost always come down to the fact that their local version of node is not compatible with what our system has available along with something in that incompatible version that they have used within their application code. Lari's suggestion of making sure to declare which runtime is also very good and should help with this.

~Tracy | AppFog | Technical Support Engineer
Reply all
Reply to author
Forward
0 new messages