通过 https 使用更新站点来安装 Rational Asset Manager Eclipse 客户端

如果 Rational Asset Manager 服务器仅通过 https 协议提供,那么 Eclipse 客户端将无法使用更新站点。为了解决此问题,必须将该服务器的公用证书添加至 Eclipse 客户端。
关于此任务
以下指示信息适用于使用 Firefox 浏览器的 Windows 计算机。适用于 Linux 的指示信息相似。
  1. 保存该证书。
    1. 使用浏览器来访问 Rational Asset Manager Web 客户端。
    2. 双击状态栏中的安全性图标。“安全性”窗口将打开。
    3. 单击查看证书
    4. 在“证书查看器”中,单击“详细信息”选项卡。
    5. 在“详细信息”页面上,单击导出
    6. 在“将证书保存至文件”窗口中,从“另存为类型”列表中选择 X.509 证书(DER)
    7. 单击保存
  2. (可选)创建密钥库。可以使用现有密钥库或创建新的密钥库。要创建新的密钥库,请从命令提示符运行以下命令:
    keytool.exe -genkey -keystore ram.keystore -storepass ibmram
    密钥库将包含用于 Eclipse 客户端的密钥。
  3. 将该证书导入到密钥库中。
    1. 从命令提示符运行以下命令来导入该证书:
      keytool.exe  -import -alias [server] -file [server].der -keystore ram.keystore -storepass ibmram
      其中 server 是安装有 Rational Asset Manager 服务器的服务器名。
    2. 输入以接受该证书并按 Enter 键。
    3. 验证该证书是否已添加到密钥库中。
  4. 从命令提示符使用以下命令来启动 Eclipse 客户端:
    eclipse -vmargs -Djavax.net.ssl.trustStore="drive:\path\to\certificate\ram.keystore" -Djavax.net.ssl.trustStorePassword=ibmram
    其中 drive:\path\to\certificate\ram.keystore 是 ram.keystore 文件的完整路径。 Eclipse 将启动并且信任与服务器的连接。