concept certificate in category flex

appears as: certificate, The certificate
Flex on Java

This is an excerpt from Manning's book Flex on Java.

9.3.2. Generating a certificate

To create an AIR application installer you first generate a certificate for signing the application. The certificate is necessary because you now are running an application locally on the computer, which gives the application access to local resources that it would not have had in a simple Flex application, such as the filesystem. In light of that, Adobe decided to take measures to secure the AIR installer by requiring you to sign it with either a self-signed certificate, which we’ll be using, or a digital certificate that you would purchase from a certificate authority (CA). That way nobody can tamper with the application and introduce malicious software to unsuspecting users.

For the example, you’ll create a self-signed certificate, but if you’re distributing the application to the masses, it would be a good idea to purchase a certificate from a CA such as Thawte (http://www.thawte.com). To generate the certificate you’ll use the ADT utility included with the FlexSDK located in the bin directory of the SDK. The basic usage for this tool is:

adt -certificate -cn name [-ou org_unit][-o org_name][-c country] \
key_type pfx_file password

This is the basic usage of the ADT utility that you’ll use to generate the certificate. Here is an explanation of the abbreviations and options: