Search code examples
certificatewindows-store-apps

Windows Store app test certificate expired


Suddenly, when running a build of my Windows Store app I got the error.

error APPX0108: The certificate specified has expired. For more information about renewing certificates, see http://go.microsoft.com/fwlink/?LinkID=241478

There is a link to the Renewing a certificate page but it's just a circular reference.


Solution

  • The information was there - just buried at the bottom of the page:

    • Open the .appxmanifest file in Visual Studio (app manifest designer view)
    • On the Packaging tab in the
      • Click Choose Certificate
      • In the dropdown, select Create test certificate...
        • This blog post recommends you do not set a password
      • Agree to replace the certificate