Skip to content

Commit cef6a97

Browse files
authored
Merge pull request #191 from kuba-orlik/patch-1
Fix typo
2 parents 9fb5ba9 + 59d8371 commit cef6a97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ How to trust this certificate will depend on your HTTP client & test setup. You
126126
Something like `NODE_EXTRA_CA_CERTS=./testCA.pem npm test` should work nicely.
127127
* **Chrome**: you can trust a certificate by passing the `--ignore-certificate-errors-spki-list=<spki fingerprint>` flag when starting Chrome.
128128
To get the SPKI fingerprint for a certificate with openssl, run `openssl x509 -in testCA.pem -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64`.
129-
* **FireFox**: you'll need to manually create a Firefox profile for your tests, open a browser using that, add the certificate as a CA, and then reuse that profile in later tests.
129+
* **Firefox**: you'll need to manually create a Firefox profile for your tests, open a browser using that, add the certificate as a CA, and then reuse that profile in later tests.
130130
* **Other**: most other tools will have their own way of temporarily adding an extra CA. If they don't, they may have an option to disable TLS verification in your tests entirely, or you might be able to trust your CA certificate system-wide (if you do this, ensure the private key never leaves your machine). Both of these come with security risks though, so be very careful, and make sure you know what you're doing first.
131131

132132
(Need to trust your cert in .crt form? Try `openssl x509 -outform der -in your-cert.pem -out your-cert.crt` to convert it from pem)

0 commit comments

Comments
 (0)