Am landed with following error "“System Roots” keychain cannot be modified" when I double tap the certificate. After googling I come to know that drag and drop the certificate is the solution for this.
But even after doing this also in code it says "profile doesnt match vaild certificate/private key chain pair in the default key chain"
ANy Solution....
Thanks.
I have a similar issue, may be the certificate which you are trying is not valid.Create a new certificate from developer portal and try again.it should work.
I've solved the issue by running following commands in terminal. (from googling)
Add the certificate and you should not get the error.
I had the same issue when I tried to install an iOS push service certificate with the Keychain Access application opened, to solve this problem, I just closed the application, and double click the certificate, then the certificate was installed without any problem.
Just had the same error. Found that after quitting keychain access and double-clicking the AppleWWDRCA.cer and developer_identity.cer it worked fine. It added them to the login keychain instead of attempting an add to system roots keychain.