Skip Navigation

Add a root CA certificate to MacOS

  1. On the macOS endpoint, copy to or download the root CA certificate. In this example, the file is in the Downloads folder. If you save it to a different folder, you must navigate to the folder in the Terminal and then run the command to add the certificate.
  2. Click
    , in the search field, type
    . Click the Terminal icon.
  3. In Terminal, type
    cd ./Downloads
    and press
  4. Type
    sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain rootCA.crt
    and press
    . In this example, the root CA certificate is named rootCA.crt. If your certificate has a different file name, be sure to change it in the command before running it.
  5. Type your password and press