+

Search Tips   |   Advanced Search

Signing Windows 8 apps

MPF provides a default certificate for development and test purposes. For production, obtain a certificate from a certificate authority and install it.

Windows 8 apps should be digitally signed before users install them. MPF provides a default certificate for signing Windows 8 apps that can be used for development and test purposes.

To sign a Windows 8 app for production distribution, using our own certificate, follow these instructions:

: We can sign Windows 8 apps only on Windows systems.

  1. See http://msdn.microsoft.com/en-us/library/windows/apps/br230260.aspx for details on obtaining a PKCS12 certificate.

  2. Export the PKCS12 certificate as a PFX file.

  3. Place this certificate on the hard disk.

  4. Set the <certificate> subelement under the <windows8> element in the application descriptor. The structure of the <certificate> subelement is:<certificate PFXFilePath="Path to certificate file" password="certificate password"/>, where Path to certificate file can either be relative to the root of the application, or an absolute path, and password is the password for the PFX certificate.


Parent topic: Development guidelines for desktop and web environments