ioscodesign

Error when trying to obtain a certificate: The specified item could not be found in the keychain


I was having a problem with codesigning my apps, so I deleted all the keys from the keychain. Then I went to Certificate Assistant => Request a certificate from a Certificate Authority (to create CSR for a new certificate).

So enter my email address and here's what I get:

The specified item could not be found in the keychain.

What am I doing wrong?

P.S. When I'm trying to Create a Certificate Authority, I get the same error.


Solution

  • Solved it! Had to change "User certificate" to "Code signing".