Solved

Click Once Question

Posted on 2006-06-22
4
329 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
ID: 16969728
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
ID: 16970569
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
ID: 16990479
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
ID: 17018686
I am not sure what is the impact or risk I face, what I did was - deploy without signing the cert.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

830 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