« 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

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 3:17 PM

I have purchased a cert, downloaded it through Firefox. But when I export, p12 doesn't seem to be an option.

Posted by: Dale Fraser at May 29, 2008 12:01 AM

Dale,

Go to Preferences > Advanced > Encryption > View Certificates. Go to "Your Certificates", select it, and choose "Backup".

That's it!

Christian

Posted by: Christian Cantrell at May 29, 2008 6:46 AM

left out the most important parts
1) kind of cert.
2) how much?

Posted by: Anil at March 17, 2009 7:04 PM

I've had some horrendous difficulty in getting a renewal on my cert from Thawte. The problem is IE simply doesn't show the last page in the renewal process, so you never get issued with a public key. Thawte say the page is being blocked by the network - cannot be so - as we've tried various routers, and even tried from the local university - always the same result. I hope it gets sorted soon!

Posted by: nile at April 8, 2009 12:37 PM

You mentioned that you are currently working with CAs that can issue personal certificates. Could you please tell me who they are?

Posted by: Amgad at June 8, 2009 2:10 AM

I'll do a new post on the current state of CAs and include information on getting "personal" certificates.

Christian

Posted by: Christian Cantrell at June 10, 2009 11:41 AM

Thanks for this Christian - I will get a GoDaddy Code Signing Cert tonight becuase of this.

Posted by: Windows 7 Registry cleaners at December 4, 2009 4:53 AM




Remember Me?

(you may use HTML tags for style)

Copyright © 2009 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).