前言
最近一直在忙上線的事,一過(guò)完十一,回來(lái)就發(fā)現(xiàn)公司證書出現(xiàn)”此證書的簽發(fā)者無(wú)效”。
問(wèn)題原因
經(jīng)過(guò)一番查找,蘋果官方給出了回答。
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.
看來(lái)是由于蘋果系統(tǒng)的安全證書過(guò)期問(wèn)題導(dǎo)致。
蘋果早在一個(gè)多月前就提醒開發(fā)者使用新證書。開發(fā)者如果不及時(shí)更新,不僅會(huì)影響到自己的開發(fā)工作,還有可能對(duì)用戶造成困擾。這一份通知面向的是那些開發(fā)應(yīng)用與 Apple Wallet、Safari 推送中心又或者是 Safari 插件相關(guān)的開發(fā)者。蘋果還在通知中表示,開發(fā)者需要在 2016 年 2 月 14 日結(jié)束之前更新他們的安全證書。更新之后,安全證書的下一個(gè)失效期為 2023 年 2 月。
解決辦法
既然知道了原因,那么就可以對(duì)癥下藥了。我們通過(guò)下載蘋果提供的最新的[安全證書](https://developer.apple.com/certificationauthority/AppleWWDRCA.cer)并雙擊安裝。
- 然后打開鑰匙串,在導(dǎo)航欄上,依次選擇顯示 - 已過(guò)期的證書
顯示已過(guò)期的證書 - 選擇登錄 - 所有項(xiàng)目
- 在搜索欄下輸入 apple w
- 刪除對(duì)應(yīng)過(guò)期的安全證書



