Event: 'secureConnect'
This event is emitted after the handshaking process for a new connection has successfully completed. The listener will be called regardless of whether or not the server's certificate has been authorized. It is the user's responsibility to test tlsSocket.authorized
to see if the server certificate was signed by one of the specified CAs. If tlsSocket.authorized === false
then the error can be found in tlsSocket.authorizationError
. Also, if either ALPN or NPN was used tlsSocket.alpnProtocol
or tlsSocket.npnProtocol
can be checked for the negotiated protocol.
Please login to continue.