SignTool error while signing AppX file: "Error: SignerSign () failed." (-2147024693 / 0x800700cb)

I am creating an Appx package using makeappx.exe and then makeappx.exe to sign it using SignTool.exe .

The error I get from SignTool:

"Error: SignerSign () failed." (-2147024693 / 0x800700cb)

The certificate that I use is created by me after the following instructions here .

EventViewer no entry for this failed operation!

I do not understand what this error means and how to fix it !! Has anyone come across this before and found a solution?

I cannot use Visual Studio, so I need to stick with makeappx.exe .

+4
windows-store-apps signtool
source share
1 answer

The appxmanifest xml file must have a publisher that matches the certificate that signs the appx package. The publisher is specified in the attribute for the "<Identity />" tag.

From MSDN :

The name of the publisher of the application manifest must exactly match the name of the signature. Note. These names are in quotation marks and are case and space sensitive. You can update the Publisher attribute string that is defined for the Identity element in the AppxManifest.xml file to match the subject name of the proposed signature certificate. Or select a different signature certificate with the subject name that matches the publisher name of the application manifest. The name of the publisher manifest and the subject of the certificate are indicated in the event message.

Error example:

error 0x8007000B: The name of the publisher of the application manifest (CN = Contoso) must match the name of the subject of the signing certificate (CN = Contoso, C = US).

0
source share

All Articles