2
1
I googled a lot for this solution, but couldn't find a proper one. when i try to add imported certificate in key chain by using following
sudo security add-trusted-cert -d -r trustRoot -k “/Library/Keychains/System.keychain” “/private/tmp/certs/certname.cer”
I get an error saying
SecCertificateAddToKeychain: Unknown format in import
In some of my searches i found that certificate may be corrupted while importing from one machine to another. So i used different protocols for file transfer. But that doesn't affected my error. Please some one look in to it and give me a clue to proceed