I succeeded importing a root CA to the keychain with
sudo security add-trusted-cert -d -r trustRoot -k "/Library/Keychains/System.keychain" CA.crt
But it's marked as Use System Defaults, like
How can I mark it as Always Trust from CLI?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community