ios 此证书由未知机构签署

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

this certificate was signed by an unknown authority

iosxcodevmwareprovisioning-profile

提问by Nikola Jovic

I need to create ipa file for testing purposes. I go to Keychian access -> Certificate assistant -> Request a certificate from a certificate authority and create some.certSigningRequest file. Then I upload that file to customer iOS Provisioning Portal and create development and distribution certificate which I download and install on my vmware mac. When I select certificate i got message: this certificate was signed by an unknown authority
Here is the image:

enter image description here

我需要为测试目的创建 ipa 文件。我转到 Keychian 访问 -> 证书助手 -> 从证书颁发机构请求证书并创建 some.certSigningRequest 文件。然后我将该文件上传到客户 iOS Provisioning Portal 并创建我下载并安装在我的 vmware mac 上的开发和分发证书。当我选择证书时,我收到消息:此证书由未知机构签名
这是图像:

在此处输入图片说明

I am confused and don't know what can be wrong?

我很困惑,不知道有什么问题?

Any help is greatly appreciate. Thanks people...

非常感谢任何帮助。谢谢人们...

回答by Nikola Jovic

SOLVED!

解决了!

The problem was missing apple WWDR intermediate certificate.

问题是缺少苹果 WWDR 中间证书。

We must also install the WWDR intermediate certificate issued by Apple's worldwide developer relations. It can be downloaded from the portal or directly at http://developer.apple.com/certificationauthority/AppleWWDRCA.cerMake sure you add this to your keychain as well.

我们还必须安装 Apple 全球开发者关系颁发的 WWDR 中间证书。它可以从门户网站或直接从http://developer.apple.com/certificationauthority/AppleWWDRCA.cer下载 确保您也将其添加到您的钥匙串中。

To add the certificate: open your keychain utility software on your Mac computer, then go to FileImport items, then select AppleWWDRCA.cer.

要添加证书:在 Mac 计算机上打开钥匙串实用程序软件,然后转到FileImport items,然后选择AppleWWDRCA.cer

回答by brack

I commented on the accepted answer but figured I'd give a more thorough response.

我对接受的答案发表了评论,但认为我会给出更彻底的回应。

Generating a Merchant ID certificate for Apple Pay yielded the warning of "This certificate was signed by an unknown authority" on the resulting cert.

为 Apple Pay 生成商家 ID 证书在生成的证书上产生了“此证书由未知机构签名”的警告。

Typically the "Issued by" shows "Apple Worldwide Developer Relations Certification Authority" -- however, in the case of the merchant ID cert, it was:

通常,“颁发者”会显示“Apple Worldwide Developer Relations Certification Authority”——但是,在商家 ID 证书的情况下,它是:

"Apple Worldwide Developer Relations CA - G2"

“Apple 全球开发者关系 CA - G2”

Most answers online point to the AppleWWDRCA.cer, however this didn't work because of the issuing authority -- in this case I needed AppleWWDRCAG2.cer. I was able to get this cert from here: http://www.apple.com/certificateauthority/

大多数在线答案都指向AppleWWDRCA.cer,但是由于颁发机构的原因,这不起作用 - 在这种情况下,我需要AppleWWDRCAG2.cer。我能够从这里获得此证书:http: //www.apple.com/certificateauthority/

回答by NSCry

I guess when you created/generated certificates the keychain preference does not have below configurations.Please check attached screenshot.I think after making certificates tab of preference according to attached image it will solve your problem.

我猜当您创建/生成证书时,钥匙串首选项没有以下配置。请检查附加的屏幕截图。我认为根据附加图像制作首选项的证书选项卡后,它会解决您的问题。

Best of luck enter image description here

祝你好运 在此处输入图片说明