ERR_SSL_VERSION_OR_CIPHER_MISMATCH with node v7.9.0 https

This code creates an https server in node v7.9.0 (currently using the Electron version) and listens on port 8000:

require('https').createServer(
  {},
  (req, res) => {
    res.writeHead(200);
    res.end('hello world/n');
  }
).listen(8000);

Unfortunately, when I visit https: // localhost: 8000 in Chrome with the server running, I get ERR_SSL_VERSION_OR_CIPHER_MISMATCH. How do I get through this error? How to find out which ciphers the server makes available and which protocol it uses (I hope the latest version of TLS)?

EDIT This error also occurs in node v8.5.0, the newest stable version of node at time of writing

+4
source share

Source: https://habr.com/ru/post/1685705/


All Articles