Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 333
  • Last Modified:

Click Once Question

On project properties page, under signing tab, certificate created from VS2005 for C# Win Apps will expire in a year time.
Q: How can I create a permanent certificate or where can I get a permanent one?
0
michellechan57
Asked:
michellechan57
  • 2
  • 2
1 Solution
 
boethius78Commented:
The certificate is only valid for 12 months to limit the effect of your certificate being compromised.  However, as long as the ClickOnce deployment is signed when the certificate is still valid, the application will be allowed to run.

See http://msdn2.microsoft.com/en-us/library/ms172240.aspx for more details.
0
 
michellechan57Author Commented:
Assuming the best deployment strategy for me is to install from the web due to certain constraint.
What will happen after the certificate becomes invalid?
0
 
boethius78Commented:
From MSDN:
>>>
Typically, certificate expiration would mean that you need to re-sign your ClickOnce application every 12 months. Authenticode mitigates the need for this with support for time-stamping. When you sign a ClickOnce deployment using a certificate, ClickOnce records the date and time of the signing and embeds it in the deployment's digital signature. So long as the deployment was signed when the certificate was still valid, ClickOnce will allow the application to run even if the certificate has since expired.
<<<

I'm not an expert on these areas, but I'd take this to mean that as long as the installer is created while the certificate is valid, time stamping will allow installation at any time, whether the certificate is still valid or not.
0
 
michellechan57Author Commented:
I am not sure what is the impact or risk I face, what I did was - deploy without signing the cert.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now