WebSocket-Node icon indicating copy to clipboard operation
WebSocket-Node copied to clipboard

Odd envelope routines parameter error Version 11.9 and 11.10

Open MasterJames opened this issue 6 years ago • 1 comments

I just started getting this odd error when connecting a socket. The response crashes the nodejs 11.10 server also other versions that worked for me otherwise too 11.9. uncaughtException: [Error: 140631888258880:error:060CC07A:digital envelope routines:EVP_CIPHER_asn1_to_param:cipher parameter error:../deps/openssl/openssl/crypto/evp/evp_lib.c:81:

I recently rebuilt my certificate chain etc. Servers are topped up with highest bit Elliptical Keys Signature Algorithm: sha512ECDSA Public Key: ECC (384 bits) Params: ECDSA_P384 Version: V3

Anyway same settings I used before. Tried both TLS 1.3 chrome://flags enabled and not, etc. Problem exists for both Chrome Version 72.0.3626.109 (Official Build) (64-bit) and latest Firefox as well. so it's seems a problem in websocket. I've used OpenSSL 1.1.0g 2 Nov 2017 to create the keys.

Something is changed to trigger this error but I'm not sure what. [Later I noted it's okay in NodeJS 10.8 and below] Is there a way to better follow up and figure out what parameter is wrong and causing the error?

MasterJames avatar Feb 15 '19 10:02 MasterJames

This does not happen with 11.8.0 and below. Something is failing since 11.9.0 and remains broken in 11.10.0

MasterJames avatar Feb 15 '19 11:02 MasterJames