Skip to content

Commit a6d50a7

Browse files
cjihrigtargos
authored andcommitted
doc: make tls links more readable
This commit replaces two long URLs in the TLS documentation with linked text. PR-URL: #28580 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 6f3ebb8 commit a6d50a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/api/tls.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,8 +1011,7 @@ Protocol versions are:
10111011
* `'TLSv1.2'`
10121012
* `'TLSv1.3'`
10131013

1014-
See <https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html> for more
1015-
information.
1014+
See the OpenSSL [`SSL_get_version`][] documentation for more information.
10161015

10171016
### tlsSocket.getSession()
10181017
<!-- YAML
@@ -1477,9 +1476,8 @@ and [`server.addContext()`][], but has no public methods.
14771476
A key is *required* for ciphers that make use of certificates. Either `key` or
14781477
`pfx` can be used to provide it.
14791478

1480-
If the 'ca' option is not given, then Node.js will use the default
1481-
publicly trusted list of CAs as given in
1482-
<https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt>.
1479+
If the `ca` option is not given, then Node.js will default to using
1480+
[Mozilla's publicly trusted list of CAs][].
14831481

14841482
## tls.createServer([options][, secureConnectionListener])
14851483
<!-- YAML
@@ -1769,6 +1767,7 @@ where `secureSocket` has the same API as `pair.cleartext`.
17691767
[`'session'`]: #tls_event_session
17701768
[`--tls-cipher-list`]: cli.html#cli_tls_cipher_list_list
17711769
[`NODE_OPTIONS`]: cli.html#cli_node_options_options
1770+
[`SSL_get_version`]: https://www.openssl.org/docs/man1.1.1/man3/SSL_get_version.html
17721771
[`crypto.getCurves()`]: crypto.html#crypto_crypto_getcurves
17731772
[`net.createServer()`]: net.html#net_net_createserver_options_connectionlistener
17741773
[`net.Server.address()`]: net.html#net_server_address
@@ -1799,6 +1798,7 @@ where `secureSocket` has the same API as `pair.cleartext`.
17991798
[DHE]: https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange
18001799
[ECDHE]: https://en.wikipedia.org/wiki/Elliptic_curve_Diffie%E2%80%93Hellman
18011800
[Forward secrecy]: https://en.wikipedia.org/wiki/Perfect_forward_secrecy
1801+
[Mozilla's publicly trusted list of CAs]: https://hg.mozilla.org/mozilla-central/raw-file/tip/security/nss/lib/ckfw/builtins/certdata.txt
18021802
[OCSP request]: https://en.wikipedia.org/wiki/OCSP_stapling
18031803
[OpenSSL Options]: crypto.html#crypto_openssl_options
18041804
[Perfect Forward Secrecy]: #tls_perfect_forward_secrecy

0 commit comments

Comments
 (0)