天天看點

BlackBerry簽名申請與安裝介紹

在網上能找到很多簽名申請的文章,大同小異。

我要補充一點,黑莓的簽名不像網上說的那麼容易,至少我花了一個多月的時間才申請下來,一定要打電話催才行,否則你的證書可能遙遙無期。

有一點很重要:就是你得英語好才行,或找一個英語好的,在中原標準時間22:00(我是在這個時間打的,我想這時候他們應該上班了)後打電話給RIM公司催促。

因為我不想在公司等到22:00後,是以我就先申請了一個skype賬号,存了2歐元(20人民币)到這個賬戶(用外币功能的信用卡付款),我查詢到skype打到美國的國際長途電話0.19人民币/分鐘,我在家晚上10點多打電話到美國。當天,RIM公司就把keys發給我了。

網上沒有中文的簽名安裝文章。我已經申請Blackberrry成功。就把RIM公司發給我的使用說明翻譯一下,與君共享,由于本人英語水準有限,錯誤之處請不吝指正。

The following attachment will allow the BlackBerry SignatureTool to register with the Signing Authority. Please ensure that the BlackBerry development tool of choice has been installed onto the workstation that will be used to sign your BlackBerry applications.

To register the attachment, please follow the instructions below:

If you plan to use both the BlackBerry JDE and BlackBerry JDE Plug-in for Eclipse install the signature keys using the BlackBerry JDE.  This should allow you to sign from either tool.

BlackBerry JDE or BlackBerry JDE Component Package Users:

1)   Double-click on the attachment.

2)   If a dialog box appears that states that a private key cannot be found, complete steps 3 through 6 before you continue. Otherwise, proceed to step 7.

3)   Click "Yes" to create a new key pair file.

4)   Type a password for your private key of at least 8 characters, and type it again to confirm.  This is your private key password, which protects your private key. Please remember this password as you will be prompted for it each time signing is attempted or a signature key is installed.

5)   Click "Ok"

6)   Move your mouse to generate date for a new private key.

7)   In the "Registration PIN" field, type the PIN number that you supplied on the signature key order form.

8)   In the Private Key password field, type the password created in step 4.

9)   Click "Register".

10) Click "Exit".

11) Repeat this process for the other .csi files.

BlackBerry JDE Plug-in for Eclipse Users:

1)   Save all 3 .csi files in the same directory (each one will be sent in a separate email message).

2)   Start Eclipse.

3) Click on the Window menu item then Preferences, expand BlackBerry Java Plug-in then select "Install New Keys...".

4)    Select one of the 3 .csi files saved in step 1 and click Open.

5)   Click "Yes" to create a new key pair file.

6)   Type a password for your private key of at least 8 characters, and type it again to confirm.  This is your private key password, which protects your private key. Please remember this password as you will be prompted for it each time signing is attempted or a signature key is installed.

7)   Move your mouse to generate date for a new private key.

8)   In the Registration PIN" field, type the PIN number that you supplied on the signature key order form.

9)  In the Private Key password field, type the password created in step 6.

10) Click "Register".

11) Click "Exit".

12) Repeat this process for the other csi files.

BlackBerry Widget SDK, BlackBerry Web Development Plug-in for Eclipse or BlackBerry Plug-in for Microsoft Visual Studio Users:

1) At the command prompt, navigate to the bin folder within the BlackBerry Widget Packager installation directory.  Default directories are:

BlackBerry Widget SDK and BlackBerry Plug-in for Microsoft Visual Studio:

C:/Program Files/Research In Motion/BlackBerry Widget Packager/bin

 BlackBerry Web Development Plug-in for Eclipse:

<Eclipse Installation>/plugins/ net.rim.browser.tools.wcpc/ wcpc/bin

C:/Program Files/Research In Motion/BlackBerry Widget Packager/bin

2) Type the following command, including the full path of the .csi file:

java -jar SignatureTool.jar <.csi file path>

3)  If a dialog that a private key cannot be found appears, perform the following actions:

a. Click Yes.

b. Type a password for the private key.

c. Type the password to confirm it.

d. Click OK.

e. Move the mouse to generate data for the new private key.

4) In the Registration PIN field, type the PIN that RIM. provided.

5) In the Private Key Password field, type a password of at least eight characters. This is the private key password.

6) Click Register.

7) Click Exit.

Important information for all users:

Note: All 3 keys (RBB, RCR, RRT) received need to be installed on the same PC.  The same password must be specified for all keys on the same PC.  You should receive each key/.csi file in a separate email message.

For further information on BlackBerry Controlled APIs and signing of applications, please refer to the BlackBerry Signature Tool Developer Guide version 4.2.0, found at the following link:

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/8067/645045/8655/8656/1271077/BlackBerry_Signature_Tool_Developer_Guide.pdf?nodeid=1271325&vernum=0

Please note:  When registering with the signing authority, ensure that you have correctly entered your registration PIN number.  If you enter the incorrect PIN 5 times, your keys will be deactivated.

Troubleshooting:

If you are having difficulty installing or registering your signature keys please check the Signature Key and Code signing section of the Developer Knowledge Base found here:  http://supportforums.blackberry.com/t5/Testing-and-Deployment/tkb-p/Testing_and_Deployment_of_Applications%40tkb#/?sort_by=-topicPublishDate&page=1&restrictionStates=no_filter&labels=signature+tool+%2526+code+signing&breadCrumb=%5B%7B%22label%22%253A%22signature+tool+%2526+code+signing%22%252C%22fieldName%22%253A%22labels_signature+tool+%2526+code+signing%22%7D%5D&publishRangeTime=0&attentionState=no_filter&search_type=message

If you continue to experience issues please contact [email protected].

下列附件将允許簽署授權注冊黑莓 SignatureTool。請確定用于給黑莓應用程式簽名的開發工具已經安裝在你的工作平台上。

請按照下面的流程注冊附件:

如果您打算在Eclipse中使用黑莓JDE和JDE插件安裝簽名證書。下面的步驟将指導你怎樣簽名。

黑莓 JDE 或黑莓 JDE 元件包使用者:

1) 輕按兩下該附件;

2) 如果會出現一個對話框,指出無法發現的私鑰,完成步驟 3 到 6,然後繼續。否則,請繼續步驟 7;

3) 單擊 Yes,建立一個新的密鑰對檔案;

4) 鍵入至少 8 個字元,您的私鑰的密碼,然後再次鍵入以确認。這是您私人密鑰的密碼,保護您的私鑰。請記住此密碼,當每次您被提示輸入簽名或安裝簽名密鑰時,使用此密碼;

5) 單擊"确定";

6)動滑鼠以生成新的私鑰資訊;

7) 在"注冊pin"字段中,鍵入簽名證書訂單上您提供的 PIN 碼;

8) 在私鑰密碼字段中,輸入在步驟 4 中建立的密碼。

9) 單擊"注冊";

10) 單擊"退出";

11) 重複此過程,為其他的.csi 檔案;

黑莓 JDE 插件的 Eclipse 的使用者:

1) 儲存所有 3 個.csi 檔案 (每個将在一個單獨的電子郵件中發送) 位于同一目錄中。

2) 啟動 Eclipse。

3) 單擊視窗菜單項,然後選首選項,展開黑莓 Java 插件,然後選擇"安裝新的證書..."。

4) 選擇在步驟 1 中儲存的 3 個.csi 檔案之一,并單擊打開。

5) 單擊 Yes,建立一個新的密鑰對檔案。

6) 鍵入至少 8 個字元的密碼作為您的私鑰,然後再次鍵入以确認。這是您的私鑰,保護您的私鑰。記住此密碼,當每次您被提示輸入簽名或安裝簽名密鑰時,使用此密碼;

7)移動滑鼠以生成新的私鑰資訊;

8)在"注冊pin"字段中,鍵入簽名證書訂單上您提供的 PIN 碼;

9) 在私鑰密碼字段中,鍵入在第 6 步中建立的密碼。

10) 單擊"注冊"。

11) 單擊"退出"。

12) 為其它 csi 檔案重複此過程。

黑莓Widget SDK,黑莓 Web 開發插件的 Eclipse 使用者,或黑莓插件的Microsoft Visual Studio 使用者:

1) 在指令行提示符狀态下,進入到黑莓Widget Packager的安裝目錄的 bin目錄中,預設目錄是:

黑莓Widget SDK 和黑莓 Microsoft Visual Studio 的插件使用者:

C:/Program Files/Research In Motion/BlackBerry Widget Packager/bin

黑莓 Web 開發插件的 Eclipse使用者:

<Eclipse Installation>/plugins/ net.rim.browser.tools.wcpc/ wcpc/bin

C:/Program Files/Research In Motion/BlackBerry Widget Packager/bin

2) 鍵入下面的指令,包括.csi 檔案的完整路徑:

java -jar SignatureTool.jar <.csi file path>

3) 如果一個“沒有發現私鑰”的對話框出現,請執行以下操作:

a.單擊是。

b.鍵入私鑰的密碼。

c.再次鍵入密碼确認。

d.單擊确定。

e.移動滑鼠來生成新的私鑰資料。

4) 在注冊pin字段中,鍵入RIM提供的 PIN。

5) 在私鑰密碼字段中,鍵入至少 8 個字元的密碼。這是私鑰密碼。

6) 單擊注冊。

7) 單擊退出。

對所有編譯器使用者都很重要資訊:

注意: 所有被接收到的3個鍵 (RBB, RCR, RRT) 必須被安裝在同一台 PC 上。在同一台 PC 上的所有密鑰,必須指定相同的密碼。在單獨的電子郵件消息中,您将收到每個鍵/.csi 檔案。

想要了解黑莓應用程式 Api 和簽名的更詳細資訊,請參閱《黑莓簽名工具開發人員指南 》 4.2.0版,位于下面的連結:

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/8067/645045/8655/8656/1271077/BlackBerry_Signature_Tool_Developer_Guide.pdf?nodeid=1271325&vernum=0

請注意: 當注冊授權簽署,確定您已正确輸入您的注冊 PIN 碼。如果您輸入了不正确的 PIN碼 5次,您的密鑰将被停用。

故障排除:

如 果你有安裝或注冊方面的困難,請查閱開發人員知識文庫的簽名密鑰和代碼簽署部分,可在下面網址找到: http://supportforums.blackberry.com/t5/Testing-and-Deployment/tkb-p/Testing_and_Deployment_of_Applications%40tkb#/?sort_by=-topicPublishDate&page=1&restrictionStates=no_filter&labels=signature+tool+%2526+code+signing&breadCrumb=%5B%7B%22label%22%253A%22signature+tool+%2526+code+signing%22%252C%22fieldName%22%253A%22labels_signature+tool+%2526+code+signing%22%7D%5D&publishRangeTime=0&attentionState=no_filter&search_type=message

如果您仍然遇到問題請聯系 [email protected]。

下面這段注意事項是網上的,我加進來補充一下。 

注意事項:

1.       如果希望簽名工具能夠同時支援BlackBerry JDE和BlackBerry Java Plugin for Eclipse,需要先為BlackBerry JDE安裝

2.       每次要簽名應用的時候,就拷貝cod和csl檔案到該機器,打開cod檔案完成簽名。

3.       如果需要解除安裝JDE重新安裝,一定要預先備份以下三個檔案

BlackBerry簽名申請與安裝介紹