Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 7a09bf0

Browse files
aprillgarron
authored andcommitted
Update macOS install instructions (#318)
* Update macOS install instructions Using the UI is for chumps and also way more steps. * Clarify instructions further - Add back in manual steps - Remove drag to desktop (as it isn't necessary) - Clarify that it's meant to be dragged to the login section (not installed globally) - Instead of trusting it for all purposes, instead trust it only for TLS - Do the same as above, but for the CLI instructions * Change "familiar" to "already familiar" As per lgarron's recommendations.
1 parent 4596dcb commit 7a09bf0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ Stock Ubuntu VM, DNS A records for `badssl.com.` and `*.badssl.com.` pointing to
2929
5. You can now navigate to `badssl.test` in your browser, and you should see a certificate error.
3030

3131
6. The badssl root certificate is at `certs/sets/test/gen/crt/ca-root.crt`. In order to get the rest of the badssl subdomains working, you will need to add this to your machine's list of trusted certificates.
32-
- On `macOS`, save `certs/sets/test/gen/crt/ca-root.crt` to your Desktop and drag it into the program Keychain Access. A BadSSL Root Certificate Authority entry should appear in the list. Double-click on this entry and select "Always Trust" from the drop-down menu next to "When using this certificate." Close the window to save your changes.
32+
- On `macOS`, drag `certs/sets/test/gen/crt/ca-root.crt` into the login section of the program Keychain Access. A BadSSL Root Certificate Authority entry should appear in the list. Double-click on this entry and select "Use Custom Settings" from the drop-down menu next to "When using this certificate." Then select "Always Trust" from the drop-down menu next to "Secure Sockets Layer (SSL)." Close the window to save your changes.
33+
34+
If you are already familiar with this process, you can instead run this command:
35+
36+
```
37+
security add-trusted-cert -r trustRoot -p ssl \
38+
-k "$HOME/Library/Keychains/login.keychain" certs/sets/test/gen/crt/ca-root.crt
39+
```
3340
3441
7. In order to preserve the root certificate even after running `make clean`, run:
3542

0 commit comments

Comments
 (0)