Would you like to tell us how we are doing?

You bet No thanks

Configure your application using the command line

Register with the BlackBerry Signing Authority

  1. Log into your BlackBerry ID and create a BlackBerry ID token. Once you confirm your password, the keystore file you download will contain your signing token

  2. Store the BlackBerry ID token in the following directory based on your operating system.

    Operating System

    Default location

    Windows XP

    %HOMEPATH%\Local Settings\Application Data\Research In Motion

    Windows Vista, Windows 7, and Windows 8

    %HOMEPATH%\AppData\Local\Research In Motion

    Mac OS

    ~/Library/Research In Motion

    UNIX and Linux

    ~/.rim

Create a developer certificate

Open a command prompt, and navigate to the \bin folder in the BlackBerry 10 SDK for Adobe AIR installation folder. In Windows 7, the SDK path is C:\Program Files (x86)\Research In Motion\blackberry-tablet-sdk-3.0.0\bin. Use the same password used when creating your BlackBerry ID token in the steps above.

blackberry-keytool -genkeypair -storepass <storepass> -dname
      "cn=<company_name>"
After you run this command, the author.p12 file is created in the folder listed below.

Operating System

Default location

Windows XP

%HOMEPATH%\Local Settings\Application Data\Research In Motion

Windows Vista, Windows 7, and Windows 8

%HOMEPATH%\AppData\Local\Research In Motion

Mac OS

~/Library/Research In Motion

UNIX and Linux

~/.rim

Configure application signing through a proxy server

During the signing process, your computer connects to the BlackBerry Signing Authority. If your computer connects to the Internet through a proxy server, you should append the options in the following table to your blackberry-signer and blackberry-debugtokenrequest commands.

Option

Description

-proxyhost <host>

This option specifies the network host that provides the proxy service. The host parameter can be an IP address or a fully-qualified domain name.

-proxyport <port>

This option specifies the port number on your proxy server through which blackberry-signer or blackberry-debugtokenrequest should communicate with the BlackBerry Signing Authority.

-proxyusername

<user name>

This option allows you to provide your user name if your proxy server requires authentication.

-proxypassword

<password>

This option allows you to provide your password if your proxy server requires authentication.

Example: blackberry-signer command line
blackberry-signer -proxyhost 192.168.1.1 -proxyport 80 -register -csjpin <csj pin>  -storepass <KeystorePassword> <client-RDK-xxxxxx.csj file>
        <client-PBDT-xxxxx.csj file>


Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus