The signing of Adobe® AIR® applications created using the BlackBerry® Tablet OS SDK Plug-in for Adobe® Flash Builder® is supported from within the GUI since release 0.9.4 of the SDK. Still, you may find reasons why signing from the command-line is desirable. These applications are compiled into .bar archives, and before installed to a device they must be signed in 2 ways:
Using a Single Command
If the Developer Certificate (P12) and the RIM-Issued RDK were both created using the same password and reside in the default directory (listed here) then you can sign your .BAR file using the following single call:
A list of common error messages and their resolutions can be found here.
NOTE: For BlackBerry® WebWorks™ applications created for the BlackBerry® PlayBook™ tablet you will need to use the BlackBerry WebWorks applicaiton-specific command-line calls to package the ZIP file into a BAR and sign:
The reason is that the BlackBerry® WebWorks™ Packager currently produces BAR files in 1 of 2 ways: unsigned and in debug mode (which cannot be signed) or fully signed in release mode. As there is no way currently to create the BAR in release mode without signing, the above bbwp call must be used to both compile and sign the BlackBerry WebWorks BAR file.