该证书由未知的权威机构签署

时间:2023-01-21 09:10:54

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:

该证书由未知的权威机构签署

我需要创建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...

任何帮助都非常感谢。谢谢大家......

3 个解决方案

#1


168  

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.cer Make 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计算机上打开钥匙串实用程序软件,然后转到文件→导入项目,然后选择AppleWWDRCA.cer。

#2


8  

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全球开发者关系认证机构” - 但是,对于商家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/

#3


2  

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 该证书由未知的权威机构签署

祝你好运

#1


168  

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.cer Make 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计算机上打开钥匙串实用程序软件,然后转到文件→导入项目,然后选择AppleWWDRCA.cer。

#2


8  

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全球开发者关系认证机构” - 但是,对于商家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/

#3


2  

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 该证书由未知的权威机构签署

祝你好运