Signing AIR Applications: How AIR's Certificate Requirement Complicates Open Source Development

Adobe AIR is the desktop runtime environment for deploying Flex applications. The main difference between a Flex application and an AIR application is that AIR applications are installed locally and have additional access to local resources, including the local file system, while a Flex application runs in the browser and is 'sandboxed'.

I've been developing an AIR version of my iTunes Export open source application. The original version was developed in .Net, making it Windows only. The AIR version will work across Windows and OS X, and will replace the existing .Net GUI.

As I prepare to release the first Beta I ran into the question of how to sign my AIR application. All Adobe Air applications must be signed using a digital certificate. There are a few companies that sell certificates that are recognized by Windows and OS X by default, and they charge $300/year and up. That is pocket change for any company selling an application but a pretty significant cost for an open source application that produces no revenue.

You can self-sign a certificate, but you are then presented with this dialog box:



If you want to avoid this dire warning, you must buy a certificate from one of the Root Certificate Authorities.

So what do I do? I'm tempted to release it using a self-signed certificate. The warning is annoying, but I've been releasing the .Net version unsigned for years, and it had as much or more 'destructive capability'. However, the users also were not faced with this warning dialog.

It would be nice if there was an 'Open Source' Certificate Authority (CA), that allowed open source projects access to free certificates, but the costs involved in becoming a Root CA and managing the issuance of certificates would require a very generous patron.

If you are looking for step by step instructions on HOWTO sign an AIR application, check out this tutorial.

2 comments:

  1. Eric,

    I would say to go ahead with the self signed certificate option and then take donations towards getting a certificate from a root authority.

    The only AIR application I have experience with is the Pandora One client which requires it.

    It performs pretty well but unfortunately does not play well with the spaces feature on OS X.

    ReplyDelete
  2. Thanks for the sharing this website. it is very useful professional knowledge. Great idea you know about company background.
    web application development

    ReplyDelete