Signing your application for BB Playbook【签名步骤】
Configure application signing from the command line
1. Initialize communication with the RIM® Signing Authority by using the blackberry-signer tool. The following command creates a barsigner.csk file.The blackberry-signer tool writes this file to one of the following locations:
For Windows-> C:\Documents and Settings\niki\Local Settings\Application Data\Research In Motion
The password you specify in the -storepass parameter allows you to access the RIM Signing Authority using your credentials. You should protect the password.
blackberry-signer -csksetup -cskpass <create_a_password>
2. Register with the RIM Signing Authority using your CSJ registration file. After the blackberry-signer tool successfully registers your CSJ file, the tool adds an entry to the barsigner.db file.
blackberry-signer -register -csjpin <PIN> -cskpass <csk password from step 2> <CSJ_file>
3. If you already have a Developer Certificate, go to step 2. Otherwise, create a Developer Certificate by using the blackberry-keytool tool.
The following command creates a Developer Certificate in the p12 file named output_file.p12. The password you specify in the -storepass parameter allows you to access the p12 file. You should protect the p12 file and its password.
blackberry-keytool -genkeypair -keystore <output_file.p12> -storepass <create_a_password> -dname "cn=<company_name>" -alias authors