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
asked Sep 29, 2014 at 6:25
2
Try adding the certificate to the «login» keychain.
answered Dec 17, 2014 at 14:18
Dean BoltonDean Bolton
6067 silver badges3 bronze badges
2
I worked around this error by adding the certificate to the login keychain by drag and drop.
answered May 6, 2019 at 14:06
2
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.
answered Oct 16, 2019 at 9:24
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.
answered Apr 12, 2015 at 20:44
boukebouke
1,1673 gold badges13 silver badges23 bronze badges
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.
answered Apr 12, 2015 at 16:27
AllisonAllison
1,4141 gold badge11 silver badges17 bronze badges
I solved this error by deleting old certificates from Keychain, then try to install certificate by double click.
answered Mar 10, 2021 at 19:51
1
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
Replies
Hmmm. Error -25294 is errSecNoSuchKeychain, suggesting that there’s something borked about your keychain. Just as a test, try this:
-
Create a new user account on your Mac (using System Preferences > Users & Groups).
-
Log in is that account.
-
Try to import the certificate there.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = «eskimo» + «1» + «@» + «apple.com»
Thank you for your answer. But I don’t think it’ll work cause it’s working account and I need to upload certificate exactly for this user.
But I don’t think it’ll work cause it’s working account and I need to
…
My suggestion wasn’t a workaround but rather a diagnostic test. You should see one of two results:
-
The import succeeds — In this case it seems likely that there’s something broken about the keychain on the original account.
-
The import fails in the same way — That suggests that there’s something broken about the certificate (which would be weird).
Once you know the results of this test, you have an avenue for further investigation.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = «eskimo» + «1» + «@» + «apple.com»
In case of someone stumble upon this error :
I’m running Catalina 10.15.7 here. I downloaded the certificate file, following these instructions :
Create a certificate signing request
When launching the certificate installer, a popup box shows up and asks in which keychain you want to install it.
I first selected iCloud keychain, then I got this error.
I launched it again and I selected the ‘System’ keychain location and then it worked.
(not sure why and if this will work for others but it worked for me).
I ran into this error. For me, the problem ended up being that in the import dialog, the keychain selected was «Local Items». Picking «login» from the dropdown fixed the error.
the keychain selected was «Local Items».
Ah, that’s interesting. Local Items is Keychain Access speak for the data protection keychain [1]. That keychain can hold certificates but it would need very different import code and so it’s not a huge surprise that you run into the problem. Still, that’s definitely a bug and I’ve filed it as such (r. 87671054).
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] If you’re not familiar with the subtleties of keychains on the Mac, see my On Mac Keychains post.
The tip about the target keychain really saved my bacon. I was trying to get the Root Certificates for Charles Proxy installed and only received error code -25294 when using its default «Help -> SSL -> Install Charles Root Certificate» option. I then exported the root certificate as a PEM file and tried importing it manually and got the same error. Upon reading this post, I realised there was a almost hidden option I had not taken into account:
(This is using Norwegian language settings, so «Valg» means «Options»).
Pressing that gave me the options of
- Local objects (preselected)
- logon
- System
Choosing system seems to have worked.
Charles Proxy is only listed as supported macOS 10.15, so no wonder.
@eskimo I was unable to import into «login», «System», or «iCloud» keychains, but was able to import into «accountsKeychainExport». What is that? It seems very sus.
In any case, I have TWO of these «accountsKeychainExport» keychains in my system, and both are empty, even after import.
I had the inspiration to try dragging the .cer file from the Finder into my login keychain, and that seemed to work, but it says the certificate is not trusted:
(I’ve redacted identifying info; note that the selected cert replaces the last cert in that list, set to expire in a month.)
Ah, I had to DL a newer Apple intermediate certificate from here (specifically, the G4 cert). That seems clunky.
macOS 21F79 on M1 Max MBP.
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
asked Sep 29, 2014 at 6:25
2
Try adding the certificate to the «login» keychain.
answered Dec 17, 2014 at 14:18
Dean BoltonDean Bolton
6067 silver badges3 bronze badges
2
I worked around this error by adding the certificate to the login keychain by drag and drop.
answered May 6, 2019 at 14:06
2
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.
answered Oct 16, 2019 at 9:24
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.
answered Apr 12, 2015 at 20:44
boukebouke
1,1673 gold badges13 silver badges23 bronze badges
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.
answered Apr 12, 2015 at 16:27
AllisonAllison
1,4141 gold badge11 silver badges17 bronze badges
I solved this error by deleting old certificates from Keychain, then try to install certificate by double click.
answered Mar 10, 2021 at 19:51
1
You must log in to answer this question.
Not the answer you’re looking for? Browse other questions tagged
.
Not the answer you’re looking for? Browse other questions tagged
.
r/UTEST
Welcome to uTest! uTest is a freelancing platform where users can test software, learn skills, and get paid for their work. This subreddit is a place to talk about everything uTest. For any issues within uTest.com, please open a support ticket at http://support.utest.com/.—— Before asking a new question, check our Wiki and FAQ at the top bar. ——
Sign up at www.utest.com
Members
Online
certificateioskeychain
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
Best Answer
Try adding the certificate to the «login» keychain.
Related Solutions
IOS – Unable to import S/MIME certificate and key into the iPhone (iOS7)
Surprisingly I had a look into my certificate in the mail accounts section. It was untrusted. I then got into the section of profiles and had a look into the imported profile. It was trusted.
Then I went back to the certificate in the mail account section and it was trusted!
This seems all quite buggy, Apple.
IOS – Unable to Install Update; An error occurred installing iOS 8.2
Power off the phone, and hold down the power button and home button at the same time until the device powers on. At that time, release the power button, but continue to hold the home button, which should start your phone in recovery mode and show an iTunes/USB Plug icon on the screen, which indicates for you to plug it into your computer with the USB data cable (computer with iTunes installed on it and open.)
Once you plug in the USB data cable to your phone/computer with iTunes, it should detect a phone (your phone) in recovery mode, and you should be able to fully recover your phone by restoring the latest iOS version to it.