S
S
superivankorolev2016-05-25 05:26:54
JavaScript
superivankorolev, 2016-05-25 05:26:54

Why can't I run the TLS client and server example from the documentation?

https://nodejs.org/api/tls.html
Client launch crashes:

events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: 0:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:openssl\ssl\s23_clnt.c:769:

    at Error (native)

I start the server without checking certificates: requestCert: false
it seems that something needs to be written tls.secureProtocol and here tls.ciphers

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question