Hi,
By default, a certificate issued by a Certificate Authorities(CA) is only
valid for 12 months. Typically, certificate expiration would mean that you
need to resign your ClickOnce application every 12 months. Authenticode
mitigates the need for this with support for time-stamping.
The Timestamp Server URL feature allows you to supply a service that will
time stamp your manifest during the publishing process.
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.
As for the time stamp service, Verisign, Inc. is an example of a CA that
provides this kind of service. You may use the following Timestamp server
URL:
http://timestamp.verisign.com/scripts/timstamp.dll
Alternatively, you may create a command-line assembly that updates the
certificate. A KB article has provided sample code for this. You may read
the KB article from the link below:
http://support.microsoft.com/kb/925521
Hope this helps.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.