ClickOnce Certificate Signing

Source: Internet
Author: User

To open the SDK command prompt for the Microsoft. NET Framework, follow these steps:

1. Create a self-signed x + + certificate (. cer) and a. pvk private key file, using the MakeCert tool, with the following command:

Makecert-r-N "cn= cncxz"-B 01/01/2005-e 01/01/2018-sv myselfname.pvk myselfname.cer

Follow the prompts to set the private key password (or do not use a password) to generate related files in the current directory

2. Create a Publisher certificate (. cer) using the CERT2SPC tool, with the following command:

CERT2SPC Myselfname.cer MYSELFNAME.SPC

3. Convert from. pvk and. spc format to. pfx format, using the Pvkimprt tool, the command is as follows:

PVKIMPRT-PFX MYSELFNAME.SPC myselfname.pvk

Follow the prompts to export the. PFX certificate, if you set the private key password in step 1th, you need to enter authentication here

4. Click "Select from File" to navigate to the. PFX certificate exported by the 3rd step in the certificate settings for the ClickOnce manifest signature of the VS project, where you need to verify the certificate private key password set in step 3rd.

MakeCert tools and CERT2SPC tools. NET framework comes with, pvkimprt tools are as follows

Http://download.microsoft.com/download/vba50/Utility/1.0/NT5/EN-US/pvkimprt.exe

ClickOnce Certificate Signing

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.