Solve the Problem of clickonce signature expiration

Source: Internet
Author: User
Scenario: A project used in the production environment performs system upgrade. When the clickonce release process finds that the signature has expired, the on-site engineer generates a new signature and then releases the product. After the release is completed, all clients cannot be updated and a signature error is prompted.
Problem: the annual signature of vs2005 is only valid for one year, so it is easy to expire during the maintenance period. If the new signature result is made, the client cannot update the verification signature.

Solution:
1. Create a new signature and use the new signature as clickonce.ProgramDelete and re-use the new clickonce installer for installation.
(This method is so shameful. If you have another upgrade, you may have this problem. At the same time, clickonce must be renamed as clickoneyear ).

2. extend the validity period by using the original signature.
Http://support.microsoft.com/kb/925521/zh-cn
Http://support.microsoft.com/kb/925521/en-us

Some of you have found this problem and know the solution. However, if VC ++ is not installed on the machine, it may be inconvenient to perform the operation. Now, you can download the package:
Http://files.cnblogs.com/spymaster/RenewCert.rar
Usage: in the Command window, enter
Renewcert <oldcertificate>. pfx <newcertificate>. pfx \ "cn = <newcertificatename> \" <password>
Okay. The new signature is valid for five years.

3. Make a long-term signature at the beginning of the project.
Http://www.cnblogs.com/xuhaibiao/archive/2009/06/22/1508317.html

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.