Solved

Click Once Question

Posted on 2006-06-22
4
326 Views
Last Modified: 2007-12-19
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
Comment
Question by:michellechan57
  • 2
  • 2
4 Comments
 
LVL 3

Expert Comment

by:boethius78
Comment Utility
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
 

Author Comment

by:michellechan57
Comment Utility
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
 
LVL 3

Accepted Solution

by:
boethius78 earned 250 total points
Comment Utility
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
 

Author Comment

by:michellechan57
Comment Utility
I am not sure what is the impact or risk I face, what I did was - deploy without signing the cert.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now