Skip to content

Commit 57e3a27

Browse files
authored
remove superfluous TLS information (#4572)
The background on TLS and "recent" (0.4!!!!) support in Node.js is extra information that is not appropriate for us to try to maintain. People can find out what is TLS etc. elsewhere. The French translation was a copy of the English article so I've removed it.
1 parent 0c8d7e1 commit 57e3a27

2 files changed

Lines changed: 0 additions & 184 deletions

File tree

locale/en/knowledge/cryptography/how-to-use-the-tls-module.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,6 @@ difficulty: 3
1010
layout: knowledge-post.hbs
1111
---
1212

13-
## What is TLS?
14-
15-
[Transport Layer Security](https://en.wikipedia.org/wiki/Transport_Layer_Security) (or TLS) is the successor to Secure Sockets Layer (or SSL). It, along with SSL, are the de-facto standard cryptographic protocols for secure communications over the web. TLS encrypts communications on top of a network transport layer (typically tcp), and uses public-key cryptography to encrypt messages.
16-
17-
### Public-Key Cryptography
18-
19-
In public-key cryptography, each peer has two keys: A public key, and a private key. The public key is shared with everyone, and the private key is (naturally) kept secret. In order to encrypt a message, a computer requires its private key and the recipient's public key. Then, in order to decrypt the message, the recipient requires its *own* private key and the *sender*'s public key.
20-
21-
In TLS connections, the public key is called a *[certificate](https://en.wikipedia.org/wiki/Digital_certificate)*. This is because it's "[signed](https://en.wikipedia.org/wiki/Digital_signature)" to prove that the public key belongs to its owner. TLS certificates may either be signed by a third-party certificate authority (CA), or they may be [self-signed](https://en.wikipedia.org/wiki/Self-signed_certificate). In the case of Certificate Authorities, Mozilla keeps [a list of trusted root CAs](https://ccadb-public.secure.force.com/mozilla/CAInformationReport) that are generally agreed upon by most web browsers. These root CAs may then issue certificates to other signing authorities, which in turn sign certificates for the general public.
22-
23-
### History of TLS/SSL Support in Node.js
24-
25-
TLS support in node is relatively new. The first stable version of Node.js to support TLS and HTTPS was the v0.4 branch, which was released in early 2011. Since then, the primary focus of the core developers has shifted from TLS/HTTPS to Windows support in the v0.5 branch. As such, the TLS APIs in node are still a little rough around the edges, and documentation leaves something to be desired.
26-
2713
## The tls Module
2814

2915
### tls.createServer

locale/fr/knowledge/cryptography/how-to-use-the-tls-module.md

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)