Skip to content

Commit

Permalink
Add linux instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed Feb 22, 2025
1 parent 0bcaa01 commit c3b8c05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/parallel/test-native-certs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ if (!common.hasCrypto) {
// 1. To add the certificate:
// $ sudo cp test/fixtures/keys/fake-startcom-root-cert.pem \
// /usr/local/share/ca-certificates/fake-startcom-root-cert.crt
// $ sudo cp test/fixtures/keys/intermediate-ca.pem \
// /usr/local/share/ca-certificates/intermediate-ca.crt
// $ sudo update-ca-certificates
// 2. To remove the certificate
// $ sudo rm /usr/local/share/ca-certificates/fake-startcom-root-cert.crt
// $ sudo rm /usr/local/share/ca-certificates/fake-startcom-root-cert.crt \
// /usr/local/share/ca-certificates/intermediate-ca.crt
// $ sudo update-ca-certificates --fresh
//
// For other Unix-like systems, consult their manuals, there are usually
Expand Down

0 comments on commit c3b8c05

Please sign in to comment.