When a client connects to a node.js SSL server and is not authenticated, i.e.:
- server doesn't require it, i.e. uses
requestCert: false - or client certificate is "wrong", i.e. the
secureConnectionevent is fired on the SSL server butCleartextstream.authorizedisfalse
Is the communication between the client and the server still encrypted (authentication and confidentiality being two different things)?
Another way to put it: does node.js SSL server falls back as a normal/unencrypted TCP server if there are authentication problems, but still fires a secureConnection event?