临时证书过期问题

Posted

技术标签:

【中文标题】临时证书过期问题【英文标题】:Adhoc certificate expired issue 【发布时间】:2016-03-31 04:47:42 【问题描述】:

我在几周前创建的临时配置证书上收到了已过期状态。为什么我无法知道这个问题

【问题讨论】:

【参考方案1】:

Apple 要求其开发人员每年使用新的 Provisioning Profile 重建和重新部署他们的应用程序。当您的个人资料接近到期日期时,您需要遵循以下步骤,以便您的应用程序不间断地运行:

1) Go to developer.apple.com and navigate to the Member Center -> Certificates, Identifiers & Profiles
2) Go to Certificates -> Production
3) Here you will see all your production certificates. I’m assuming most of them have or soon will be expired. So go ahead and request a new certificate by clicking on the Add (+) button.
4)On that Add ios Certificate screen, select In-House and Ad Hoc option and hit Continue.
5)Now before we can continue, let’s open Keychain Access on you computer and generate a Certificate Signing Request by going to Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority
6)In the window that pops up, enter your email address and common name.
Save the .certSigningRequest file to your disk.
7)Now go back to your browser window and upload the .certSigningRequest file which 8)you just created and click on Generate.
9)Download and open the .cer file which you just generated in Keychain Access. You should now be able to see the newly generated certificate with a new expiration date.
10)Now go back to the browser and navigate to Provisioning Profiles -> Distribution
11)Click on the provisioning profile in question and click on the Edit button.
In the certificates field, select the new certificate which you just created and click Generate.
12)Download and open the new provisioning profile (.mobileprovision) in the Organizer. You should now see the new expiring date (a year from now) on that as well.
13)Delete the old profiles to avoid confusion and rebuild your app with the new one
14)Once you’ve rebuilt the app, just install it again on all devices in question.

【讨论】:

以上是关于临时证书过期问题的主要内容,如果未能解决你的问题,请参考以下文章

Jmeter证书过期

2018-02-08 HTTPS证书问题、PKIX或者证书过期问题解决方案

电脑 java 的证书过期问题

SSL证书安装后提醒证书已过期怎么办??

苹果证书过期

iOS企业证书过期的问题处理 以及Provisioning Profile文件替换