ios 此证书具有无效的颁发者 Apple Push Services
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/35390072/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
This certificate has an invalid issuer Apple Push Services
提问by Aamir
回答by AcidicSkittles
I think I've figured this one out. I imported the new WWDR Certificate that expires in 2023, but I was still getting problems building and my developer certificates were still showing the invalid issuer error.
我想我已经想通了这一点。我导入了2023 年到期的新 WWDR 证书,但我仍然遇到构建问题,我的开发人员证书仍然显示无效的颁发者错误。
- In keychain access, go to View-> Show Expired Certificates. Then in your login keychain highlight the expired WWDR Certificate and delete it.
- I also had the same expired certificate in my System keychain, so I deleted it from there too (important).
- 在钥匙串访问中,转到View-> Show Expired Certificates。然后在您的登录钥匙串中突出显示过期的 WWDR 证书并将其删除。
- 我的系统钥匙串中也有相同的过期证书,所以我也从那里删除了它(重要)。
After deleting the expired certificate from the login and System keychains, I was able to build for Distribution again.
从登录名和系统钥匙串中删除过期的证书后,我能够再次构建分发。
回答by mishimay
- Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cerand double-click to install to Keychain.
- Select "View" -> "Show Expired Certificates" in Keychain app.
Confirm "Certificates" category is selected.
Remove expired Apple Worldwide Developer Relations Certificate Authority certificates from "login" tab and "System" tab.
- 下载https://developer.apple.com/certificationauthority/AppleWWDRCA.cer并双击安装到 Keychain。
- 在钥匙串应用程序中选择“查看”->“显示过期证书”。
确认选择了“证书”类别。
从“登录”选项卡和“系统”选项卡中删除过期的 Apple Worldwide Developer Relations 证书颁发机构证书。
Here's Apple's answer.
这是苹果的答案。
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 (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.
感谢您将此问题提请社区注意,并对您遇到的问题表示歉意。此问题源于在您的系统和登录钥匙串中都有过期的 WWDR 中间证书的副本。要解决此问题,您应该首先下载并安装新的 WWDR 中间证书(通过双击该文件)。接下来,在 Keychain Access 应用程序中,选择 System keychain。确保在“查看”菜单中选择“显示过期证书”,然后删除过期版本的 Apple Worldwide Developer Relations Certificate Authority Intermediate 证书(2016 年 2 月 14 日过期)。您的证书现在应该在 Keychain Access 中显示为有效,并且可供 Xcode 提交到 App Store。
回答by technerd
This is not actually a development issue. It happens due to expiration of the Apple Worldwide Developer Relations Intermediate Certificateissued by Apple Worldwide Developer Relations Certificate Authority. WWDRCA issues the certificate to sign your software for Apple devices, allowing our systems to confirm that your software is delivered to users as intended and has not been modified.
这实际上不是一个发展问题。这是由于Apple Worldwide Developer Relations 证书颁发机构颁发的Apple Worldwide Developer Relations Intermediate Certificate过期而发生的。WWDRCA 颁发证书来为 Apple 设备签署您的软件,让我们的系统能够确认您的软件已按预期交付给用户,并且未经修改。
To resolve this issue, you have to follow the below steps:
要解决此问题,您必须按照以下步骤操作:
- Open Keychain Access
- Go to View-> Show Expired Certificates
- 打开钥匙串访问
- 转到查看->显示过期的证书
Here you find that "Apple Worldwide Developer Relations Certificate Authority" is marked as expired. So delete it. Also check under Login Tab and delete expired WWDRCA.
Download new WWDR Intermediate Certificatefrom here(The renewed Apple Worldwide Developer Relations Certification Intermediate Certificate will expire on February 7, 2023).
Install it by double clicking on it.
在这里您会发现“Apple Worldwide Developer Relations Certificate Authority”被标记为已过期。所以删除它。还要检查登录选项卡并删除过期的 WWDRCA。
从这里下载新的WWDR 中级证书(更新后的 Apple 全球开发者关系认证中级证书将于 2023 年 2 月 7 日到期)。
通过双击安装它。
If you still face any issue with your iOS apps, Mac apps, Safari extensions, Apple Wallet and Safari push notifications, then please follow this link of expiration.
如果您的 iOS 应用程序、Mac 应用程序、Safari 扩展程序、Apple Wallet 和 Safari 推送通知仍然存在任何问题,请点击此过期链接。
The Apple Worldwide Developer Relations Certification Intermediate Certificate expires soon and we've issued a renewed certificate that must be included when signing all new Apple Wallet Passes, push packages for Safari Push Notifications, and Safari Extensions starting February 14, 2016.
While most developers and users will not be affected by the certificate change, we recommend that all developers download and install the renewed certificate on their development systems and servers as a best practice. All apps will remain available on the App Store for iOS, Mac, and Apple TV.
Apple 全球开发者关系认证中级证书即将到期,我们已签发更新的证书,从 2016 年 2 月 14 日开始,在签署所有新的 Apple Wallet Pass、Safari 推送通知推送包和 Safari 扩展时必须包含该证书。
虽然大多数开发人员和用户不会受到证书更改的影响,但我们建议所有开发人员在他们的开发系统和服务器上下载并安装更新的证书作为最佳实践。所有应用程序仍可在适用于 iOS、Mac 和 Apple TV 的 App Store 中使用。
回答by Mohith Km
Here is how we fixed this.
这是我们修复此问题的方法。
Step 1: Open Keychain access, delete "Apple world wide Developer relations certification authority" (which expires on 14th Feb 2016) from both "Login" and "System" sections. If you can't find it, use “Show Expired Certificates” in the View menu.
步骤1:打开钥匙串访问,从“登录”和“系统”部分删除“Apple全球开发者关系认证中心”(2016年2月14日到期)。如果找不到,请使用“查看”菜单中的“显示过期证书”。
Step 2: Download thisand add it to Keychain access-> Certificates(which expires on 8th Feb 2023).
第2步:下载这个并将其添加到钥匙串访问- >证书(这在2023年2月8日到期)。
Step 3: Everything should be back to normal and working now.
第 3 步:现在一切都应该恢复正常并正常工作了。
Reference: Apple Worldwide Developer Relations Intermediate Certificate Expiration
回答by Arik Segal
In Apple's Developer's portal, add a new certificate, and when asked "What type of certificate do you need?" choose "WorldWide developer relations certificate". Generate the new certificate, download and install. The moment you do that, you will no longer see the message you have described.
在 Apple 的开发者门户中,添加一个新证书,当系统询问“您需要什么类型的证书?” 选择“全球开发者关系证书”。生成新证书,下载安装。当您这样做时,您将不再看到您所描述的消息。
Edit:
The certificate can be downloaded from the following page:
https://www.apple.com/certificateauthority/You can choose one of the following two certificates:
"WWDR Certificate (Expiring 02/07/23)"
or
"WWDR Certificate (Expiring 02/14/16)"
编辑:
证书可以从以下页面下载:
https://www.apple.com/certificateauthority/ 您可以选择以下两个证书之一:“WWDR 证书(02/07/23 到期)”或“WWDR 证书” (将于 16 年 2 月 14 日到期)”
回答by Kondal Kolipaka
Follow the below steps:
请按照以下步骤操作:
- Download and install from here. Double click and install it.
- Select "View" -> "Show Expired Certificates" in Keychain app.
- Remove Apple Worldwide Developer Relations Certificate Authority certificates from "login" tab and "System" tab in Keychain app.
- 从这里下载并安装。双击并安装它。
- 在钥匙串应用程序中选择“查看”->“显示过期证书”。
- 从 Keychain 应用程序的“登录”选项卡和“系统”选项卡中删除 Apple Worldwide Developer Relations 证书颁发机构证书。
If you don't find your WWDR certificate in Loginor Systemtab, then select category "All items" on the left side. Most probably you will get to see an expired WWDR certificate here, and you can remove it. An expired certificate is always shown with a red asterisk.
如果在登录或系统选项卡中没有找到您的 WWDR 证书,请选择左侧的类别“所有项目”。您很可能会在此处看到过期的 WWDR 证书,您可以将其删除。过期的证书始终显示为红色星号。
回答by MilanPanchal
If you are facing the "This certificate has an invalid issuer" error for all your certificates then do the following steps.
如果您的所有证书都面临“此证书的颁发者无效”错误,请执行以下步骤。
Steps:
脚步:
- Open Keychain and Click on Login -> All Items from the left panel.
- Now, Click on View-> Show Expired Certificatesfrom the top navigation menu.
- Now search for "Apple Worldwide Developer Relations Certification Authority" and delete expired certificates.
- After deleting expired certificates, visit the following URL and download the new certificate, https://developer.apple.com/certificationauthority/AppleWWDRCA.cer.
- Double click on the newly downloaded certificate, and install it in your keychain.
- Double check: List expired certificates by following step number 3.
- Now you have a valid "Apple Worldwide Developer Relations Certification Authority" having expiry date 2023-02-07.
- 打开钥匙串并单击左侧面板中的登录 -> 所有项目。
- 现在,单击顶部导航菜单中的查看->显示过期证书。
- 现在搜索“Apple Worldwide Developer Relations Certification Authority”并删除过期的证书。
- 删除过期证书后,访问以下 URL 并下载新证书 https://developer.apple.com/certificationauthority/AppleWWDRCA.cer。
- 双击新下载的证书,并将其安装在您的钥匙串中。
- 仔细检查:按照步骤 3 列出过期的证书。
- 现在您拥有一个有效的“Apple Worldwide Developer Relations Certification Authority”,有效期为 2023-02-07。
Reference:
参考:
回答by Ashish Kakkad
As described in the Apple Worldwide Developer Relations Intermediate Certificate Expiration:
如Apple Worldwide Developer Relations Intermediate Certificate Expiration 中所述:
The previous Apple Worldwide Developer Relations Certification Intermediate Certificate expired on February 14, 2016and the renewed certificate must now be used when signing Apple Wallet Passes, push packages for Safari Push Notifications, Safari Extensions, and submissions to the App Store, Mac App Store, and App Store for Apple TV.
之前的 Apple Worldwide Developer Relations Certification Intermediate Certificate 已于2016年2 月 14 日到期,现在必须在签署 Apple Wallet Pass、推送 Safari 推送通知包、Safari 扩展以及向 App Store、Mac App Store、和适用于 Apple TV 的 App Store。
All developers should download and install the renewed certificateon their development systems and servers. All apps will remain available on the App Store for iOS, Mac, and Apple TV.
所有开发人员都应在其开发系统和服务器上下载并安装更新的证书。所有应用程序仍将在 iOS、Mac 和 Apple TV 的 App Store 上可用。
The new valid certificate will look like the following:
新的有效证书将如下所示:
It will display (this certificate is valid) with a green mark.
它将显示(此证书有效)带有绿色标记。
So, go to your Key Chain Access. Just delete the old certificateand replace it with the new one (renewed certificate) as Apple described in the document. Mainly the problem is only with the Apple push notification service and extensions as described in the Apple document.
所以,去你的钥匙链访问。只需删除旧证书并将其替换为新证书(更新证书),如 Apple 文档中所述。主要问题仅在于 Apple 文档中描述的 Apple 推送通知服务和扩展。
You can also check the listing of certificates in https://www.apple.com/certificateauthority/
您还可以在https://www.apple.com/certificateauthority/ 中查看证书列表
Certificate Revocation List:
证书吊销清单:
Now this updated certificate will expire on 2023-02-08.
现在,此更新的证书将于 2023-02-08 到期。
If you could not see the old certificate then go to the System Keychainsand from edit menu and select the option Show Expired Certificates.
如果您看不到旧证书,请转到System Keychains并从编辑菜单中选择选项Show Expired Certificates。
Now you can see the following certificate that you have to delete:
现在您可以看到以下您必须删除的证书:
回答by Ahsan
回答by Vitali Usau
Just try to set local date earlier than Feb 14. Works for me! Not a complete solution but temporary solve the problem.
尝试将本地日期设置为早于 2 月 14 日。对我有用!不是一个完整的解决方案,而是暂时解决问题。