Skip to content

Commit 76aaa29

Browse files
committed
fixup! fixup! crypto: support --use-system-ca on non-Windows and non-macOS
1 parent 803ce60 commit 76aaa29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2909,7 +2909,7 @@ On other systems, Node.js loads certificates from the default certificate file
29092909
(typically `/etc/ssl/cert.pem`) and default certificate directory (typically
29102910
`/etc/ssl/certs`) that the version of OpenSSL that Node.js links to respects.
29112911
This typically works with the convention on major Linux distributions and other
2912-
UNIX-like systems. If the overriding OpenSSL environment variables
2912+
Unix-like systems. If the overriding OpenSSL environment variables
29132913
(typically `SSL_CERT_FILE` and `SSL_CERT_DIR`, depending on the configuration
29142914
of the OpenSSL that Node.js links to) are set, the specified paths will be used to load
29152915
certificates instead. These environment variables can be used as workarounds

test/parallel/test-native-certs.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if (!common.hasCrypto) {
4040
// $ sudo rm /usr/local/share/ca-certificates/fake-startcom-root-cert.crt
4141
// $ sudo update-ca-certificates --fresh
4242
//
43-
// For other UNIX-like systems, consult their manuals, there are usually
43+
// For other Unix-like systems, consult their manuals, there are usually
4444
// file-based processes similar to the Debian/Ubuntu one but with different
4545
// file locations and update commands.
4646
const handleRequest = (req, res) => {

0 commit comments

Comments
 (0)