Post

Replies

Boosts

Views

Activity

security add-trusted-cert: Unknown format in import
Running the latest 10.13 Beta (DP2, UPD1) and attempting to import a certificate to the System keychain (our Organizational CA).bash-3.2# security add-trusted-cert -d -r trustRoot -k "/Library/Keychains/System.keychain" RootCert.pem SecCertificateCreateFromData: Unknown format in import. Error reading file RootCert.pemThis works perfectly fine in macOS 10.11 through to 10.12.5.Converting to a DER format also results in the same error. Permissions are rwx-r--r-- on the file in question, error occurs when command is run as root.Anyone else experiencing this issue? If so, any solutions?
2
0
3.3k
Jun ’17