How to build a PFX file for the publish Windows app

Source: Internet
Author: User
Tags pfx file

Reference articles

https://msdn.microsoft.com/en-us/library/windows/desktop/jj835832 (v=vs.85). aspx

1. Find the. appxmanifest file in the project and open it with txt text to find publisher.

2. Create the MakeCert folder in the C drive, from the directory C:\Program files (x86) \microsoft Sdks\windows\v7.1a\bin Copy Makecert.exe and Pvk2pfx.exe to the file.

3. Run cmd with admin to enter the MakeCert file.

4. Run C:\makecert>makecert-n cn=12b86ca8-5564-4383-b655-ce87b535555-r-H 0-eku " 1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.13 "-E 09/20/2019-sv trr.pvk trr.cer

Note:-N is the add publisher, the front cn= must have otherwise will be reported Cryptcertstrtonamew failed = 0x80092023 (-2146885597) error.

5.C:\MAKECERT>PVK2PFX-PVK trr.pvk-pi password1-spc trr.cer-pfx trr.pfx-po Password1

How to build a PFX file for the publish Windows app

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.