Hi Ben,

On Thursday, November 22, 2012 3:20:49 PM UTC, Ben Noordhuis wrote:
>
> You're using it correctly but it turns out there's a bug in node that 
> mangles the value of SSL_OP_ALL.  I've landed a patch in [1] that you 
> can cherry-pick. 
>
> Alternatively, you can OR together SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS 
> and whatever other constants you need. 
>
> [1] https://github.com/joyent/node/commit/8d2753c 
>


Ok - I tried various options OR'd together to no avail, so finally decided 
to hack this in rather than to rebuild Node on this box just to see if it 
cured the problem:

            if (!options) options = {};
            options.secureOptions = 2147483648;
            var sslcontext = crypto.createCredentials(options);

Unfortunately - I'm still seeing the error:

client co9ehsobe002.messaging.microsoft.com [207.46.163.25] connection 
error: Error: 3075274448:error:06065064:digital envelope 
routines:EVP_DecryptFinal_ex:bad 
decrypt:../deps/openssl/openssl/crypto/evp/evp_enc.c:467:#0123075274448:error:06065064:digital
 
envelope routines:EVP_DecryptFinal_ex:bad 
decrypt:../deps/openssl/openssl/crypto/evp/evp_enc.c:467:

Is there anything else I can try?

Kind regards,
Steve.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to