doc: tls API for direct TLS socket use by sam-github · Pull Request #10846 · nodejs/node
added
doc
labels
Jan 17, 2017Direct use of tls.TLSSocket to start a TLS session over an existing TCP connection was documented. However, to use this connection securely it is necessary to validate and authenticate the peer's certificate, and the documented events and properties are implemented only for TLSSockets returned by tls.connect(). In order to create secure connections, additional undocumented APIs must be used, and these APIs are being called right now by npm modules. Fix: nodejs#10555 Fix: nodejs#11467
jasnell added a commit to jasnell/node that referenced this pull request
Nov 1, 2018deprecate the legacy undocumented `.ssl` alias for the `TLSSocket._handle` and document alternatives. Document how to properly use the `TLSSocket` constructor directly. Updated take on nodejs#10846 Fixes: nodejs#10555
jasnell added a commit to jasnell/node that referenced this pull request
Dec 31, 2020Fixes: nodejs#10555 Refs: nodejs#10846 The `new tls.TLSSocket()` constructor does not set up all of the necessary lifecycle management or event handlers necessary for proper use. The `tls.connect()` method really should be the way that all `tls.TLSSocket()` instances are created. This commit begins the eventual phasing out of the `new tls.TLSSocket()` constructor with a doc-only deprecation. Signed-off-by: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request
May 2, 2021targos pushed a commit that referenced this pull request
May 3, 2021targos pushed a commit that referenced this pull request
May 30, 2021targos pushed a commit that referenced this pull request
Jun 5, 2021targos pushed a commit that referenced this pull request
Jun 5, 2021targos pushed a commit that referenced this pull request
Jun 11, 2021This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters