How can I sign a Windows Store app from a Window Store certificate?

I just bought my developer account from the Windows Store, and I would like to sign my application before downloading. When I go into the package, and then click the "Select Certificate" button, I see the following options:

  • Choose from certificate store
  • Select from file
  • Create a test certificate.

I tested everything with the third option, but the first option, choosing from the certificate store, gives me an error, as shown below:

Certificate missing

Certificates do not meet the application criteria.

This is the error screen capture:

enter image description here

How do I get a certificate? I thought that Apple iTunes I can create a certificate from the store, and then I will use it or as an Android self-signed certificate.

I am using Visual Studio 2013.

+5
3

, , . Windows Store, Microsoft .

MSDN Windows 8:

.. , , , . , Windows Store .

+3

. ( Hanselman), , .

codeign, CA (, ), . Cetrum CA ( ). . - , . ( - FF, , - .)

0

Not sure if this is related / useful, but FWIW I recently had to get a code mark certificate for my Windows Store application (for local testing / installation). The following command line scripts work for me in case they help anyone.

Part 1: Certificate Generation

(Run them from the Visual Studio 201x command prompt)

# 1) Generate .PVK and .CER
MakeCert /n "CN=YourMSPartnerPublisherIDString" /r /h 0 /eku "1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13" /sv MyAppName.pvk MyAppName.cer

# 2) Generate .PFX
Pvk2Pfx /pvk  MyAppName.pvk /pi "password" /spc MyAppName.cer /pfx MyAppName.pfx /po "password"

Part 2. Create APPX from EXE and sign APPX with certificate

(Run them from the command line as administrator)

# 3) Generate APPX from EXE
# (Assumes you have your App EXE and valid AppManifest.xml in C:\MyAppFolder\AppxPackage folder)
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\makeappx.exe" pack /p "C:\MyAppFolder\MyAppName.appx" /d "C:\MyAppFolder\AppxPackage"

# 4) Sign APPX with Cert
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe" sign /fd sha256 /a /f "C:\MyAppFolder\CertMyAppName.pfx" /p password "C:\MyAppFolder\MyAppName.appx"
0
source

All Articles