What happens if my distribution certificate expires? - ios

My certificate will expire in 4 days, and I've uploaded for submission new app version with the new certificate.
What happens if the old certificate expires? Will users be available do download my app with old certificate, or will Apple remove my app until the new certificate is provided?

What happens if my certificate expires or has been revoked?
Apple Push Notification Service Certificate
You can no longer send push notifications to your app.
Pass Type ID Certificate (Passbook)
If your certificate expires, passes that are already installed on users' devices will continue to function normally. However, you will no longer be able to sign new passes or send updates to existing passes. If your certificate has been revoked, your passes will no longer function properly.
iOS Distribution Certificate (App Store)
If your iOS Developer Program membership is valid, your existing apps on the App Store will not be affected. However, you will no longer be able to submit new apps or updates to the App Store.
iOS Distribution Certificate (In-house, Internal Use Apps)
Users will no longer be able to run apps that have been signed with this certificate. You must distribute a new version of your app that is signed with a new certificate.
Mac App Distribution Certificate and Mac Installer Distribution Certificate (Mac App Store)
If your Mac Developer Program membership is valid, your existing apps on the Mac App Store will not be affected. However, you will no longer be able to submit new apps or updates to the Mac App Store.
Developer ID Application Certificate and Developer ID Installer Certificate (Mac Applications)
If your certificate expires, users can still download, install, and run versions of your Mac applications that were signed with this certificate. However, you will need a new certificate to sign updates and new applications. If your certificate has been revoked, users will no longer be able to install applications that have been signed with this certificate.
Original Source Apple Doc

When distribution certificate expires, you can't submit new apps to AppStore. On the other hand the old live apps will work fine, ie: Nothing will happen to your live app in AppStore.
Consider check these Apple's thread and doc.

Related

Apple says "Your iOS Distribution Certificate expiring" what i need to do

I got this mail from Apple.
Your iOS Distribution Certificate will no longer be valid in 30 days. To generate a new certificate, sign in and visit Certificates, Identifiers & Profiles.
I get some information from StackOverFlow but I want to know what I need to do if I modify my existing app. Will I able to update in future the same app with new certificate and new profile. Is that I need to revoke and generate the new certificate. Thanks for your help and comments.
As per new updates, you don't need to renew the certificate as a separate action. The renewal is based on the expiration of the Apple developer account. By taking the action of renewing your membership, this will automatically renew your certificates.
It is just a reminder of the certificate that is going to be expired very soon in future.
I want to know what I need to do if I modify my existing app. Will I able to update in future the same app with new certificate and new profile.
Yes, You can always able to create new certificates (Some has limitation to create) and use these certificate to generate new mobile provisioning profile or regenerate mobile provisioning profile using the new certificates.
Using old certificate (Expired) you can not able to run build on device and not able to publish app on App Store.
The new certificate will not affect on your app. In simple words, certificates are being used to run app on device, publish app on App Store, push notification, etc.

Distribution certificate expired ios [duplicate]

My certificate will expire in 4 days, and I've uploaded for submission new app version with the new certificate.
What happens if the old certificate expires? Will users be available do download my app with old certificate, or will Apple remove my app until the new certificate is provided?
What happens if my certificate expires or has been revoked?
Apple Push Notification Service Certificate
You can no longer send push notifications to your app.
Pass Type ID Certificate (Passbook)
If your certificate expires, passes that are already installed on users' devices will continue to function normally. However, you will no longer be able to sign new passes or send updates to existing passes. If your certificate has been revoked, your passes will no longer function properly.
iOS Distribution Certificate (App Store)
If your iOS Developer Program membership is valid, your existing apps on the App Store will not be affected. However, you will no longer be able to submit new apps or updates to the App Store.
iOS Distribution Certificate (In-house, Internal Use Apps)
Users will no longer be able to run apps that have been signed with this certificate. You must distribute a new version of your app that is signed with a new certificate.
Mac App Distribution Certificate and Mac Installer Distribution Certificate (Mac App Store)
If your Mac Developer Program membership is valid, your existing apps on the Mac App Store will not be affected. However, you will no longer be able to submit new apps or updates to the Mac App Store.
Developer ID Application Certificate and Developer ID Installer Certificate (Mac Applications)
If your certificate expires, users can still download, install, and run versions of your Mac applications that were signed with this certificate. However, you will need a new certificate to sign updates and new applications. If your certificate has been revoked, users will no longer be able to install applications that have been signed with this certificate.
Original Source Apple Doc
When distribution certificate expires, you can't submit new apps to AppStore. On the other hand the old live apps will work fine, ie: Nothing will happen to your live app in AppStore.
Consider check these Apple's thread and doc.

Recompiling iOS app to publish on Apple store

I have published iOS app on Apple Store.
It was compiled on developer's MAC computer.
Now I need to figure out how to recompile on different MAC computer to publish on Apple store.
Can I use existing certificate
or
do I have to create new certificate?
I just want to publish newer version of my application.
What do I need from developer?
By the way, I have full access to Apple Developer's account.
Thanks,
Ashok
You would require private key, certificate, and provisioning profile along with access to apple developer account for publishing your app.
Since you already have access to the developer account, so provisioning profile and certificate is no issue.
So in fact you just have to private key from the developer.
FYI: private key and digital certificate[contains public key] are together known as signing identity.
In order to upload the app on app store you will need
Production Certificate with private key installed on your MAC.
Distribution Provisioning Profile (enabled for App Store ).
Make sure your provisioning profile use the same "App Id" that was used during the last version uploading process.
You can check the "app Id" or "bundle Id" on the app detail page of your iTunes account . ( You must have all these configured in your existing account)
Now, if you don't get the private key from your last developer. You can simply log in to iTunes account and can revoke the Production certificate.
You can find several tutorials on web for "Revoking Certificate"
After revoking you can download and install the certificate on your MAC and can also distribute it to other developers in your team. Now, download or create the distribution profile enabled for App Store and install it on your MAC (If it got expired then renew it)
Also, Please refer some tutorial for app uploading process. You will get a better idea on all this.

iOS Certificates and Provisioning Profile

My client has a few apps in the app store that were submitted using a certain App Store profile which I have access to the account. We also have those apps installed Ad Hoc signed with the same Distribution Profile. Now I am taking care of one of this apps and I need to code sign to make a few changes and then submit it Ad Hoc for some testers. No one knows where the .developerprofile backup is. Can I revoke the existing certificate and recreate a new one without affecting the apps on the App Store. If I revoke, any other developer using this key pair will stop working, right? Any other problem I am not remembering. Can I revoke the certificate?
Thanks in advance.
Yes, you can safely revoke the developer and AdHoc distribution certificates without affecting any App Store apps. Be careful not to revoke any Push Notification certificates if your app uses push.
Generate a new certificate signing request on your machine and use that to generate the new certificates. Remember to edit the provisioning profiles after you create the new certificates, especially if you've added any additional devices to the provisioning list. Then download the new provisioning profiles and you should be good to go.
Any other developers (if they still have access) will be able to download the new profiles if they need them. If they also need to sign builds, they should generate their own keys/certificates as well for their developer certificates.

How can I upload an App UPDATE with a difference Developer Certificate

I've developed and published an App on the App store successfully last month. However, since then, my Mac crashed and (stupidly!) I didn't have a backup of my Keychain Certificates. I've had to generate a new Certificate and ultimately create a new Developer Certificate in the Apple Provisioning Portal.
As a result - despite being able to sign and deploy the updated App to my iPhone and iPad, I cannot upload it to the App store because the signing is different.
Is there any way around this? Do I have to re-write the App and submit it a new with the new signing keys?
I've seen the question:
Can I upload a new version of my iOS app with a different certificate/profile than the previous one?
but this doesn't answer my question/problem.
your application bundle identifier & provisioning needs to be same which is irrespective with which distribution certificate you have compiled the build provided that you are generating build (ipa) for appstore submission from the same developer account.
Fixed! I logged into the Apple Provisioning Portal, revoked all my certificates and deleted all my distribution an provisioning certificates. Then I deleted everything from XCode and everything from my KeyChain. I re-generated a new CSR from the KeyChain, generates a new certificate in the Provisioning Portal with this and then did the rest through xCode. It found and downloaded my development and provisioning certificates, one against my team, the other as "unknown". I clicked on TEAMS in xCode and did a refresh then returning to the profiles say everything set as valid. I signed the App with the new certificates and uploaded them. The App is not awaiting review :)

Resources