IOS開發證書過期的問題

前言

最近一直在忙上線的事,一過完十一,回來就發現公司證書出現”此證書的簽發者無效”。

問題原因

經過一番查找,蘋果官方給出了回答。
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)并雙擊安裝。

  1. 然后打開鑰匙串,在導航欄上,依次選擇顯示 - 已過期的證書
    顯示已過期的證書
  2. 選擇登錄 - 所有項目
  3. 在搜索欄下輸入 apple w
  4. 刪除對應過期的安全證書

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容