Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Help! Renew Self-Generated Certificate???
 

Help! Renew Self-Generated Certificate???

Help guys!

The self-generated certificate that I use to sign my ClickOnce-deployed application has expired.

I've gone into certmgr.msc, right-clicked on the certificate and selected "All Tasks|Renew Certificate with Same Key", and get this error:

---------------------------
The wizard cannot be started because it failed to contact the active directory.
---------------------------

... which is correct- my PC has never been part of an active directory domain. This is a personal hobby project at home!

How do I renew this key? Am I screwed? If I create a new key, none of my users will be able to update, will they?

mabster  Friday, September 08, 2006 7:39 AM
This issue has been fixed in the Orcas release of ClickOnce. The Beta1 of Orcas stated to be released soon willhave this fix.
Saurabh Pant  Monday, March 26, 2007 1:11 AM

Can anyone help with this? Any MS guys reading?

If I can't create a new certificate with the same key, my users won't be able to upgrade to the next version I publish, right? They'll need to uninstall the current version and install the next version as if it's a new program?

How would I go about renewing a self-generated certificate in the first place, assuming it hadn't expired? Or am I going to have to go through this process every year?

mabster  Sunday, September 10, 2006 7:54 AM

Hi mabster,

Hope this may help.

http://support.microsoft.com/?kbid=925521

Chavalun R_  Tuesday, February 06, 2007 6:41 AM

Interesting. I wonder if MS will make this "renewcert" command-line tool available as a download? For those of us running Visual Studio Express who can't create Win32 executables, that is.

mabster  Tuesday, February 06, 2007 7:09 AM
This issue has been fixed in the Orcas release of ClickOnce. The Beta1 of Orcas stated to be released soon willhave this fix.
Saurabh Pant  Monday, March 26, 2007 1:11 AM

I want it fixed in VS2005! Not in Orcas.

Martin Koster  Wednesday, August 01, 2007 1:03 PM

I wouldn't hold your breath. See previous topic on the forums at: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=442030&SiteID=1

Good to hear it's going to be fixed in Orcas. For me, I think it might be the best reason to upgrade.

Zloth  Thursday, August 02, 2007 6:14 PM

You can use google to search for other answers

Custom Search

More Threads

• Can we change the Installation URL of a published package
• VS shut down during building
• What is simplest way to get around need for certificate in app?
• Users cannot run app after upgrade from VS2005 to VS2008
• Moving Installation URL to new location
• Embedded MSI in Bootstrapper
• clickonce issue on vista
• A few issues with ClickOnce install of Windows Form app from web server
• Conditionally set registry value
• Enterprise Library Configuration, no updater Application Block configuration?