What is the process of obtaining a certificate to sign my ClickOnce assembly(ies)?
I've got a few ClickOnce applications at my company, but they are all signed with temporary certificates created by Visual Studio. Those are obviously not Trusted Root Authorities nor Trusted Publishers. I've followed along the article Configuring ClickOnce Trusted Publishers, and I like the experience when something is signed with a certificate that is both a Trusted Root Authority and Trusted Publisher (that is, no prompt, just an install).
http://apps.mycompany.com/
and I want to change this later, for example http://www.mycompany.com/apps
or http://apps.mysubcompany.com
, will I have to obtain another certificate?To disable ClickOnce security settings With a project selected in Solution Explorer, on the Project menu, click Properties. Click the Security tab. Clear the Enable ClickOnce Security Settings check box.
Windows Installer deployment requires administrative permissions and allows only limited user installation; ClickOnce deployment enables non-administrative users to install and grants only those Code Access Security permissions necessary for the application.
I had to work through the signed ClickOnce recently. It was not the most smooth experience, but once this has been done (and wired to the automated publishing) it started working like a marvel. Here's the actual product, if you are interested in the behavior: Forecasting Add-in for Excel.
Article on ClickOnce Manifest Signing and Strong-Name Assembly Signing was a good start.
Can I use the same certificate to sign multiple ClickOnce assemblies?
Yes.
How much does a certificate cost?
Tucows offers certificates for 75$, but the process is rather slow.
What information do I need to provide when obtaining the certificate?
They check your documents (e.g. a scan of your certificate of incorporation), check your whois record and things like this.
Does the certificate need to be aware of where the publishing location is?
This was not needed in our case.
I have a code signing certificate from Thawte, and it has worked very well (once I got the signing procedure figured out...)
It costs US$299 per year (Microsoft Authenticode (Multi-Purpose) Certificate)
Thawte is already a trusted root in Windows so for clients it works fine. (I had to install extra root certificates on the signing machine, though.)
You are welcome to check out our app at http://www.ludesi.com/download
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With