This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Description
This happens for me in node v0.8.12 and v0.8.19 on two different machines, one Ubuntu 12.04 and one OSX 10.8. It doesn't happen if I make requests to other domains.
var https = require('https');
https.request('https://google.com', function(res) {console.log(res)});
Produces:
events.js:68
throw arguments[1]; // Unhandled 'error' event
^
Error: 140463203215168:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:../deps/openssl/openssl/crypto/evp/p_lib.c:288:
at CleartextStream._pusher (tls.js:656:24)
at SlabBuffer.use (tls.js:199:18)
at CleartextStream.CryptoStream._push (tls.js:483:33)
at SecurePair.cycle (tls.js:880:20)
at SecurePair.cycle (tls.js:895:10)
at EncryptedStream.CryptoStream.write (tls.js:267:13)
at Socket.ondata (stream.js:38:26)
at Socket.EventEmitter.emit (events.js:93:17)
at TCP.onread (net.js:396:14)