« Apprise: an RSS aggregator written for AIR | Main | Lineup: an Exchange calendar viewer for AIR »

March 26, 2008

Tips on getting a code signing certificate

I got my own certificate for signing AIR applications a couple of weeks ago, so I thought I'd share my experience in order to help others more easily navigate the process. My intention is not to provide an exhaustive tutorial on code signing or the process of obtaining a certificate (if that's what you're looking for, see Todd Prekaski's article entitled Digitally Signing Adobe AIR Applications). Rather, I just want to list a few things you should know about before starting the process in order to ensure that it goes smoothly.

I decided to get my certificate from Thawte, but you can also use VeriSign (and soon other Certificate Authorities who Adobe is working with). Both Thawte and VeriSign issue code-signing certificates to organizations as opposed to individuals, so the tips below assume that you already have a corporate entity established. We are currently working with CAs who can issue personal certificates, so if you don't have a business, you will soon be able to get a certificate issued in your own name.

If you decide to get your certificate through Thawte, here are some important things to know:

Those are all the specific issues that caused me problems. If you own a business, and take all four points above into account when applying for your code-signing certificate, you should be able to obtain one within a couple of days with no problem at all.

Posted by cantrell at March 26, 2008 10:48 AM | References

Comments

Good stuff Christian. There is also an excellent article on this on the Adobe Developer Connection at: http://www.adobe.com/devnet/air/articles/signing_air_applications.html

Posted by: Jonathan Wall at March 26, 2008 11:02 AM

I've developed a demo using Air for an open source project. Because it is open source, I am not going to buy a certificate. I have tried signing my Air app using a Thawte freemail certificate (generally following the procedure in this article: http://www.dallaway.com/acad/webstart/). However, adt keeps throwing an error when I package it: not an X509 code-signing certificate. Strange that the procedure in the article is good enough to sign jar files, but not Air applications. As a last resort, I used openssl to convert the certificate to a p12 file. But no joy - adt still gives the same error.

Posted by: Matt at April 24, 2008 03:17 PM

Post a comment




Remember Me?



(you may use HTML tags for style)