I am using the 10.9.5 version and ios 8. When i try to install my certificate i got through my developer account for push notification for my app in the keychain local items, its not importing. The error says: Unable to import the certificate and the error code is 25294


6 Answers 6


Try adding the certificate to the "login" keychain.

  • 4
    Please do not delete this answer, as it answers the question and I could not find this solution elsewhere
    – user174099
    May 7, 2017 at 18:28
  • yeah that was my problem, I was in the "iCloud" keychain. Login one worked.
    – SeanMC
    Jan 21, 2022 at 15:56

I worked around this error by adding the certificate to the login keychain by drag and drop.

  • This worked for me. Aug 27, 2019 at 13:23
  • This also seems to have worked for me, but it says the certificate is not trusted (unlike the one I'm replacing).
    – Rick
    Jun 30, 2022 at 0:28

Instead of double clicking the .cer file and importing in finder I just drag & dropped it into the Keychain app in the desired keychain, that worked for me.


The error code means "No such keychain":

errSecNoSuchKeychain -25294 The specified keychain could not be found.

I'm not really sure on how to proceed, but maybe this information points you in the right direction.


I'm really not sure about what you're question is asking, but I stumbled here while trying to solve the same error. The situation I had on my machine was I had a bunch of similarly named keychains in keychain access and the application would default to adding the .pem to a nonexistent keychain.

So I solved this by selecting the missing keychains one by one and deleting them all except my real System keychain, iCloud, and login. You might not have iCloud depending on your setup, version, and location.


I solved this error by deleting old certificates from Keychain, then try to install certificate by double click.

  • How is this different from the answer already provided in 2015?
    – fsb
    Mar 10, 2021 at 22:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .