Help with digital certificate for Clickonce technology

vcharles
vcharles used Ask the Experts™
on
Hi,

How do you obtain a digital certificate at no cost?

Thanks,

Victor
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014

Commented:
You could create a self-certificate, but that doesn't really do you much good if you are distributing this in the wild.

There are some free options out there, but I'm not sure how well they work, and most seem to be geared towards open-source projects.

If you truly need a code signing certificate then it's prudent to purchase one. There are many resellers out there who will provide one for approximately $100 USD/year. Note those are typically resold Comodo certs, but they work.

I got mine from Digicert, after using this link for a deep discount:

https://msdn.microsoft.com/en-us/library/windows/hardware/hh801887%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

Go to the section titled "Step 2: Buy a new code signing certificate", and select the "Buy a DigiCert standard code signing certificate" in either the Standard or Extended sections. This will take you to the a page offering a 50% discount for the certificate on the Digicert site.

Author

Commented:
Hi,

I looked at the link but don't see how is it included with Visual Studio to use with Clickonce technology , do you know another link that shows how to use a digital certificate with clickonce technology?

Thanks,

Victor
Most Valuable Expert 2012
Top Expert 2014
Commented:
That link is just to purchase a certificate, which is what you asked. As mentioned earlier, there may be some free certificates out there, but ClickOnce deployment only works with particular types of certificates, and odds are the ones you could get for free would not do the job. After all, the reason you use a code signing certificate is so that your users can be relatively certain the code is from a reliable source. Using a free certificate, which requires little to no verification, doesn't really do that.

To sign your Clickonce deployments, open the My Project page, then select the Signing item on the left side listing. Select you .pfx file using the "Select From File", and then continue to create your ClickOnce deployment. VS will use the Certificate you selected in the Signing section when creating your installer.

Author

Commented:
Ok. I think I got it. I need to make sure the cerificaye purchased can be used with clickonce technology and use the steps in your last paragraph to use the certificate. Will reseaech certificates which can be used with clickonce.
Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial