Support - Unable to register keys or sign a file while behind a proxy server

来源:互联网 发布:纸箱淘宝 编辑:程序博客网 时间:2024/06/05 07:24

Summary

This article applies to the following:

  • BlackBerry® Java® Development Environment(BlackBerry JDE)

 

Problem

By default, the BlackBerry Signature Tool is unableto contact the registration server if you are working behind a proxyserver. When attempting to either register the signature keys orsign an application, you may see one of the following error messages:

Server unavailable at this time. Please contactyour system administrator.

OR

General failure. Please try again. Server may beunavailable.

Resolution

To resolve this issue, perform one of the following resolutions:

Resolution 1

Configure the BlackBerry JDE to use a proxy server when launchingthe BlackBerry SignatureTool. To do so, complete the followingsteps:

  1. In the BlackBerry JDE, select the Edit menu.
  2. Choose Preferences, and then select the CodeSigning tab.
  3. Type the proxy information in the required fields.

Resolution 2

Register the signature keys by running the following command,instead of double-clicking on each .csi file:

Java -jar -Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=80 SignatureTool.jarSigKey.csi

In the preceding example, SigKey.csi refers tothe name of each signature key (.csi) file that was sent to you.The naming conventions for the keys are as follows:

  • client-RRT-*.csi
  • client-RBB-*.csi
  • client-RCR-*.csi

Dhttp.proxy is either the name or Internet Protocol(IP) address of the proxy server. The Dhttp.proxyPort isoptional because the default proxy port is 80. However, if the proxy serveris configured to use a different port, the Dhttp.proxyPort optionis required, where it specifies the configured port.

Make sure that you register each .csi file and that you doit only once. For security purposes, the BlackBerry Signature Toolprevents multiple registrations of the same set of keys.

Signing an application

Once the signature keys have been successfully registered,you will be able to sign a BlackBerry smartphone application byrunning the BlackBerry Signature Tool from a command prompt. TheBlackBerry Signature Tool is located within the following directory:

[Drive:]/Program Files/Research In Motion/BlackBerryJDE 3.x/bin

From a command line, change to the preceding directory, anduse the following command to run the BlackBerry Signature Tool:

Java -jar -Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=80 SignatureTool.jar

This will open a file selection window, which will allow youto select the .cod file(s) that you want to sign.

Additionally, the BlackBerry JDE has built-in support forthe proxy host and proxy port under the Code Signing tab. To accessthe Code Signing tab, click Edit > Preferences > CodeSigning. This can be used for future code signing requestsafter the initial registration.

Note: Proxy authentication support has been added to the BlackBerrySignatureTool in BlackBerry JDE 4.3.0 and later.

原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 新生儿测听力没过关怎么办 色弱高考体检时没查出来怎么办 公司福利体检查二对半怎么办 高考体检表复印件丢了怎么办 高考体检表身高填错了怎么办 大学档案高考体检表丢了怎么办 工厂组织体检我有乙肝怎么办 我有乙肝单位组织体检怎么办? 矮腰袜子老掉怎么办 短腰袜子老下滑怎么办 中考体检结果丢了怎么办 咳嗽左胸围一处刺痛怎么办? 阴茎小父母催婚怎么办 头发扎进指甲缝怎么办 指甲缝扎流血了怎么办 中考考差了高中怎么办 骨折后我抽烟了怎么办 五年级科学考不好怎么办 考试连续考差了怎么办 客户说没考虑好怎么办 小孩生殖器痒经常用手抓怎么办 孩子在幼儿园生殖器官受伤怎么办? 被骗了3000块钱怎么办 小说 月经来了想体检怎么办 尿检的时候遇上月经期怎么办 消防兵改革那新兵怎么办 教师资格证体检有问题怎么办 检兵合格还在上学怎么办 运动后肌肉肿了怎么办 打架用力过猛肌肉疼痛怎么办 军检只要一项不合格怎么办 体检身高差一厘米怎么办 体检身高差两公分怎么办 体检身高差10厘米怎么办 孩子的爸爸总是打游戏怎么办 拉屎屁眼疼还有血怎么办 家里冼澡要等好多冷水怎么办 孕晚期小孩头大怎么办 报考警校体检不合格退回怎么办? 入职体检视力0.1怎么办 屁扒骨折疼要怎么办