[UWP] APPX0107:指定的证书对签名无效 [英] [UWP]APPX0107: The certificate specified is not valid for signing

查看:302
本文介绍了[UWP] APPX0107:指定的证书对签名无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

拥有由受信任的CA颁发的代码签名证书。

Having a Code Signing certificate issued by a trusted CA.

想要用它来签署appxbundle。

Want to use it for signing an appxbundle.

导入证书进入用户证书=>个人:

Imported the certificate into User certificates => Personal :




在.csproj文件的 PackageCertificateThumbprint 元素中指定证书指纹。

Specified the certificate thumbprint in the PackageCertificateThumbprint element of the .csproj file.

在使用MSBuild构建时,获取APPX0107错误:

On building with MSBuild, getting the APPX0107 error :

APPX0107:指定的证书无效签署

APPX0107: The certificate specified is not valid for signing

可能是什么原因?

推荐答案

你在这里模糊了基本信息,但我怀疑你有EKU而不是代码签名和终身签名。禁止使用任何其他EK。 

You blurred out the essential information here, but I suspect you have EKUs other than code signing and lifetime signing. Any other EKUs are prohibited. 

请参阅https://msdn.microsoft.com/en-us/library/windows/apps/br230260上的验证证书部分(v = vs.85).aspx 

See the Validating Certificates section at https://msdn.microsoft.com/en-us/library/windows/apps/br230260(v=vs.85).aspx 


这篇关于[UWP] APPX0107:指定的证书对签名无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆