signtool error
-
Wednesday, July 04, 2012 9:53 PM
Hi I am trying to create a certificate for my metro app while transferring it from my win8 machine to a tablet.
I am following the instructions in this link
http://peterdn.com/post/To-make-a-Metro-Appx-Package-from-scratch-you-must-first-e280a6.aspx
After I create the root certificate and the client certificate ,when I try to sign the app using the signtool commandline utility,I am receiving the following error.
Error information: "Error: SignerSign() failed." (-2147024885/0x8007000b)
It is working fine for me when I deployed a sample JS app from my win8 machine to the tablet.
The app which I am trying to deploy has 2 projects including a BGTask.Is the problem related to that?
Can someone suggest what I might be doing wrong?
All Replies
-
Friday, July 06, 2012 11:57 PM
Are you using Visual Studio to develop your app? If so, you can right-click on the project, go to Store-->Create App Package to create packages for your app. As part of packaging in VS, it also automatically signs the output package with a generated test certificate.
-
Thursday, July 12, 2012 6:42 PM
Hi Gaurav,
You can look in the Event log, "Event Viewer (Local) > Applications and Services Logs > Microsoft > Windows > AppxPackagingOM >
Microsoft-Windows-AppxPackaging/Operational" for more detailed error information.A common reason for this error can be that the Publisher name for your app in the AppxManifest.xml file ( value under Package/Identity/@Publisher ) does not match the subject name of the signing certificate.
Thanks, Ali Naqvi


