From 3c4e47dd8c8394e0500d1d7832dda6106cc93415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Reegn?= Date: Fri, 14 May 2021 08:39:02 +0200 Subject: [PATCH] Merge pull request #4599 from reegnz/patch-1 Add certificate CLI Installation method for MacOS --- docs/src/content/concepts-certificates.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/content/concepts-certificates.md b/docs/src/content/concepts-certificates.md index 0fc32c696..783575a7a 100644 --- a/docs/src/content/concepts-certificates.md +++ b/docs/src/content/concepts-certificates.md @@ -37,6 +37,8 @@ documentation for some common platforms. The mitmproxy CA cert is located in - wget on the command line: `wget -e https_proxy=127.0.0.1:8080 --ca-certificate ~/.mitmproxy/mitmproxy-ca-cert.pem https://example.com/` - [macOS](https://support.apple.com/guide/keychain-access/add-certificates-to-a-keychain-kyca2431/mac) +- [macOS (automated)](https://www.dssw.co.uk/reference/security.html): + `sudo security add-trusted-cert -d -p ssl -p basic -k /Library/Keychains/System.keychain ~/.mitmproxy/mitmproxy-ca-cert.pem` - [Ubuntu/Debian]( https://askubuntu.com/questions/73287/how-do-i-install-a-root-certificate/94861#94861) - [Mozilla Firefox](https://wiki.mozilla.org/MozillaRootCertificate#Mozilla_Firefox) - [Chrome on Linux](https://stackoverflow.com/a/15076602/198996)