NetWorker:keytool 錯誤:java.io.IOException:金鑰存放區遭到篡改,或密碼不正確'

Summary: 在嘗試存取 NRE cacerts 檔案時,NetWorker Runtime Environment (NRE) keytool 命令傳回下列錯誤:「keytool 錯誤: java.io.IOException:金鑰存放區遭到篡改,或密碼不正確。」

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

NetWorker 執行時間環境 (NRE) 包括 keytool 用於管理多個金鑰庫和信任庫檔的實用程式。
keytool 命令在用於管理 NRE cacerts 檔案時傳回下列錯誤:

# /opt/nre/java/latest/bin/keytool -list -keystore /opt/nre/java/latest/lib/security/cacerts -storepass 'password'
keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect

Cause

此問題可能是因為在嘗試執行 keytool 命令為貴組織設定主要和次要 IT 連絡人。例如,NetWorker 驗證伺服器 (AUTHC) 金鑰存放區密碼與 keytool 命令,而非預設的 NRE cacerts

Resolution

Java 金鑰存放區密碼與安裝 NetWorker 時設定的 AUTHC 金鑰存放區密碼不同,而是 JAVA 金鑰存放區密碼。預設密碼為 changeit

Linux 範例:
[root@nsr ~]# /opt/nre/java/latest/bin/keytool -list -keystore /opt/nre/java/latest/lib/security/cacerts -storepass changeit | grep emcauthctomcat
emcauthctomcat, Aug 19, 2025, trustedCertEntry,

Windows 範例:

C:\Program Files\NRE\java\jre1.8.0_411\bin>keytool.exe -list -keystore ..\lib\security\cacerts -storepass changeit | findstr emcauthctomcat
emcauthctomcat, Sep 5, 2025, trustedCertEntry,
注意:由於此命令的輸出可能很長,因此上面最多使用作業系統命令, grep (Linux) 和 findstr (Windows) 以篩選本機 NetWorker AUTHC tomcat 憑證。在 Windows 主機上,Java bin 目錄路徑會根據安裝的 NRE 版本而有所不同。

Additional Information

注意:可使用 keytool 命令可用來管理匯入 NRE 的 CA 憑證。當 Secure Lightweight Directory Access Protocol (LDAPS) 驗證與 NetWorker 整合時,這是必需的:NetWorker:如何設定 LDAPS 驗證

若已安裝 NetWorker Runtime Environment (NRE),那麼 Java Runtime Environment (JRE) 資料夾位於:

  • Linux: /opt/nre/java/latest
  • Windows: C:\Program Files\NRE\java\jre#.#.#_#


您可以找到 Oracle Java Runtime Environment (JRE):

  • Linux:  /usr/java/latest 
  • Windows: C:\Program Files\Java (您必須選取最新版本的資料夾)

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000038944
Article Type: Solution
Last Modified: 11 Sept 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.