Created
December 16, 2023 14:35
-
-
Save waldekmastykarz/56aed149cabc4efd20fb5b45d9c6278d to your computer and use it in GitHub Desktop.
Trust a certificate on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# export cert from keychain to PEM | |
security find-certificate -c "Titanium Root Certificate Authority" -a -p > proxy-cert.pem | |
# add trusted cert to keychain | |
security add-trusted-cert -r trustRoot -k ~/Library/Keychains/login.keychain-db proxy-cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment