kolek kolek - 1 month ago 19
iOS Question

Revoked certificate - iPhone Programming

I deleted a certificate in Provisioning Portal (Certificates). Now, when I want create a new certificate I see a warning and this message is sent to my email:


Your Development Certificate Has Been Revoked - you have revoked your
Development certificate and it' s no longer valid


My account is valid.

What can I do to add new certificate without problems or restore the old one that I have on disk?

Answer

Manual Way:

  1. Go to this URL (Apple developer site): https://developer.apple.com/devcenter/ios/index.action

  2. Log in with your valid account.

  3. On the right-hand side, there is a column with a heading "iOS Developer Program". Select the "Provisioning Portal" section.

  4. On the left-hand side, click the row of the column that is labeled "Certificates"

  5. Since I already have a certificate I'm not sure, but somewhere on this page you should be able to click "Request certificate" or something similar.

  6. Wait for your new certificate, and then download and install it as before

Other details can be found in Apple's Tech Notes here: https://developer.apple.com/library/ios/#technotes/tn2250/_index.html

You can ALSO have XCode create everything for you.

  1. Revoke all current certificates and provisioning profiles

  2. To invoke "Automatic Device Provisioning" open Xcode's "Window" menu > Organizer > Devices tab > "Provisioning Profile" sidebar under Library.

  3. Check the "Automatic Device Provisioning" checkbox and click the "Refresh" button. After clicking Refresh a dialog should appear requesting your team member account credentials. It is important to answer 'yes' when asked to create your iPhone Certificates if any are needed. In that case, clicking "Submit Request" will allow Xcode to create, download and install the certificate(s).

What XCode is doing for you automatically, according to the above tech note:

1) Prompts to create and install your "iPhone Developer" certificate if one doesn't already exist in the iOS Portal

2) (for admin or agent roles) prompts to create and install your "iPhone Distribution" certificate if one doesn't already exist in the iOS Portal

3) Creates a Wildcard App ID if one does not already exist in the iOS Portal

4) Creates, or updates with new devices added to the portal, your iOS Team Provisioning Profile and installs that into your profile library

5) Syncs the profile library on your local machine with the profiles on the iOS Portal

Comments