Error 0x80080209 when signing the appx file for Windows UWP

I created a Windows 10 UWP Cordon application and am trying to sign it now. I already have a certificate that is used elsewhere (to sign .net assemblies), so I thought I would use the same one to sign this application.

When I use signtool.exe, I get the following error.

SignTool Error: An unexpected internal error has occurred.
Error information: "Error: SignerSign() failed." (-2146958839/0x80080209)

In the event log proposed here , I see no errors in just 2 informational messages

The reader was successfully created without manifest confirmation.

I made sure that the fields Publisherin the AppxManifest.xml file match the subject in the certificate.

Look here , I see it described as

0x80080209-APPX_E_INVALID_SIP_CLIENT_DATA
Description : The SIP_SUBJECTINFOstructure used to sign the package didn’t 
contain the required data

Does anyone know what that means?

[Update1]

, , .

.

# create
New-SelfSignedCertificate -Type Custom -Subject "CN=My Company Pty Ltd, O=My Company Pty Ltd, C=AU" -KeyUsage DigitalSignature -FriendlyName mycert_uwp -CertStoreLocation "Cert:\LocalMachine\My"

 # get info
 Set-Location Cert:\LocalMachine\My
 Get-ChildItem | Format-Table Subject, FriendlyName, Thumbprint

 # export
 $pwd = ConvertTo-SecureString -String password123 -Force -AsPlainText 
 Export-PfxCertificate -cert "Cert:\LocalMachine\My\17BBBBBB2DC49F550671AF3E72120C88E2333333" -FilePath h:\0\mycert_uwp.pfx -Password $pwd

.

AppxManifest.xml ...

<Identity Name="com.mycompany.myapp" Publisher="CN=My Company Pty Ltd, O=MyCompany Pty Ltd, C=AU" Version="1.0.1.1" ProcessorArchitecture="x86" />

.

[ 2]

signtool, ,

signtool sign /fd SHA256 /a /f myapp_uwp.pfx /p may password c:\dev\myapp\platforms\windows\build\windows\release\x86\win10\Upload\CordovaApp.Windows10_1.0.1.1_x86\CordovaApp.Windows10_1.0.1.1_x86.appx

.

SHA384 SHA512. /debug, , , /debug .

[Update3] . Visual Studio (, ), ( )

enter image description here

.. yets ( ).

?

0
2

, - ( 0x80080209 ), ( Windows 10 SDK)

0

: Error information: "Error: SignerSign() failed." (-2146958839/0x80080209) Error information: "Error: SignerSign() failed." (-2146958839/0x80080209)

, .

msvc2017, msvc2015.

0

All Articles