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?
michellechan57Asked:
Who is Participating?
 
boethius78Connect With a Mentor Commented:
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
 
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
 
michellechan57Author Commented:
I am not sure what is the impact or risk I face, what I did was - deploy without signing the cert.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.