前言
最近一直在忙上线的事,一过完十一,回来就发现公司证书出现”此证书的签发者无效”。
问题原因
经过一番查找,苹果官方给出了回答。
Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the
expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the
new [WWDR intermediate certificate](https://developer.apple.com/certificationauthority/AppleWWDRCA.cer) (by double-clicking on the file). Next, in the
Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the
expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your
certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.
过期的安全证书
苹果早在一个多月前就提醒开发者使用新证书。开发者如果不及时更新,不仅会影响到自己的开发工作,还有可能对用户造成困扰。这一份通知面向的是那些开发应用与 Apple Wallet、Safari 推送中心又或者是 Safari 插件相关的开发者。苹果还在通知中表示,开发者需要在 2016 年 2 月 14 日结束之前更新他们的安全证书。更新之后,安全证书的下一个失效期为 2023 年 2 月。
解决办法
既然知道了原因,那么就可以对症下药了。我们通过下载苹果提供的最新的[安全证书](https://developer.apple.com/certificationauthority/AppleWWDRCA.cer)并双击安装。
- 然后打开钥匙串,在导航栏上,依次选择显示 - 已过期的证书
显示已过期的证书 - 选择登录 - 所有项目
- 在搜索栏下输入 apple w
- 删除对应过期的安全证书
网友评论