Xcode 下载:“此服务器的证书无效”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26508719/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 05:57:25  来源:igfitidea点击:

Xcode download: "The certificate for this server is invalid"

iosxcodexcode6

提问by

Is anyone other then me getting this error trying to download the docs in Xcode 6?

除了我之外,还有其他人在尝试下载 Xcode 6 中的文档时遇到此错误吗?

Could not download and install iOS 8.1. The certificate for this server is invalid. You might be connecting to a server that is pretending to be “devimages.apple.com” which could put your confidential information at risk.

无法下载和安装 iOS 8.1。此服务器的证书无效。您可能正在连接到一个伪装成“devimages.apple.com”的服务器,这可能会使您的机密信息处于危险之中。

Here's a screenshot:

这是一个屏幕截图:

enter image description here

在此处输入图片说明

采纳答案by dingo sky

You can use Keychain Access to change the trust for the cert from Use System Default to Always Trust. For me it was the cert a248.e.akamai.net. After downloading the docs I switched it back to Use System Defaults. Or you can wait for Apple to correct the mistake.

您可以使用 Keychain Access 将证书的信任从使用系统默认更改为始终信任。对我来说,它是证书 a248.e.akamai.net。下载文档后,我将其切换回使用系统默认值。或者你可以等待苹果纠正错误。

回答by kakashy

In my case I solved this problem adding the certificate to my keychain, you can download from this siteand configure the trust option in Always Trust

就我而言,我解决了将证书添加到我的钥匙串的问题,您可以从此站点下载并配置信任选项Always Trust

enter image description here

在此处输入图片说明

回答by Ralf Janzen

I can confirm the workaround. Seems like Apple has forgotten to renew this certificate.

我可以确认解决方法。似乎 Apple 忘记更新此证书。

回答by Thanayu Thanakitworawat

I got exactly the same problem, try investigate using google chrome browser. It's turn out that the provided certificate! is not match URL itself.

我遇到了完全相同的问题,尝试使用谷歌浏览器进行调查。原来,提供的证书!与 URL 本身不匹配。

enter image description here

在此处输入图片说明

Could be apple web administrator mess.

可能是苹果网络管理员一团糟。