How to resolve: The key file "xxx.pfx" cannot be imported. The key file may be password protected. _hololens

Source: Internet
Author: User
Problem Description:

HoloLens encountered the following error message when publishing to the Windows store in Release vs:

The key file "xxxx.pfx" could not be imported. The key file may be password protected. To correct this problem, try to manually import the certificate into the current user's personal certificate store.

(Note: In other cases this error message is also the solution)


Workaround I was found by visiting the Web site it was prompted to find a solution to the--http://go.microsoft.com/fwlink/?linkid=241478
The specific approach is as follows: 1: In Solution Explorer, open the shortcut menu for the. appxmanifest file, select the open mode, and then select the application display designer.


2: In the application manifest designer, select the Package tab and select the Certificate button.
3: Select an existing certificate file from the file system (because I am publishing a HoloLens application, you can create a certificate automatically in unity).
4: Then in your VS project to find the change certificate file, will automatically prompt you to enter the password
5: After entering the correct password, a rerun will be resolved.

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.