The tls.Server class is a subclass of net.Server that accepts encrypted connections using TLS or SSL.
TLS Certificate
TLS Certificate
https://nodejs.org/dist/v7.6.0/docs/api/tls.html#tls_tlssocket_getpeercertificate_detailed
The tls.TLSSocket is a subclass of net.Socket that performs transparent encryption of written data and all required TLS negotiation.
The tls.TLSSocket is a subclass of net.Socket that performs transparent encryption of written data and all required TLS negotiation.
Instances of tls.TLSSocket implement the duplex Stream interface.
TLS Socket Options
TLS Socket Options
The tls module provides an implementation of the Transport Layer Security (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL.
The tls module provides an implementation of the Transport Layer Security (TLS) and Secure Socket Layer (SSL) protocols that is built on top of OpenSSL.
https://nodejs.org/dist/v7.6.0/docs/api/tls.html
The tls.Server class is a subclass of net.Server that accepts encrypted connections using TLS or SSL.
https://nodejs.org/dist/v7.6.0/docs/api/tls.html#tls_class_tls_server