NetWorker:java.io.IOException: キーストアの形式が無効です

Summary: Java keytoolを使用して、NetWorker AUTHCまたはNetWorker NWUI(Webユーザー インターフェイス)キーストア ファイルを一覧表示または変更できません。

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認証(AUTHC)サーバーまたはNetWorker Webユーザー インターフェイス(NWUI)サーバーには、Java Runtime Environment (JRE)が含まれています。通常、これはNetWorker Runtime Environment (NRE)を使用して簡単に行うことができます。

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

メモ: Windowsホストには「最新の」シンボリック リンクはありません。インストールされているNREバージョンに応じて、JREパスにはNREバージョンに含まれているJREバージョンが含まれます。

使用する場合 keytool コマンドを実行してNetWorker authc/NWUIキーストア ファイルを確認すると、Javaエラーが表示されます。

[root@nsr bin]# keytool -list -keystore /nsr/authc/conf/authc.keystore
 Enter keystore password:
 keytool error: java.io.IOException: Invalid keystore format

このエラーは、 keytool コマンドをNRE java binディレクトリから直接実行します。

NetWorkerサーバー キーストア ファイル:

Linuxの場合 
    • /nsr/authc/conf/authc.keystore
    • /nsr/authc/conf/authc.truststore
    • /opt/nsr/authc-server/conf/authc.truststore
    • /opt/nre/java/latest/lib/security/cacerts
Windowsの場合:
    • C:\Program Files\EMC NetWorker\nsr\authc-server\conf\authc.truststore
    • C:\Program Files\EMC NetWorker\nsr\authc-server\tomcat\conf\authc.keystore
    • C:\Program Files\NRE\java\jre##.#_###\lib\security\cacerts
NetWorker Webユーザー インターフェイス(NWUI)ファイル:
Linuxの場合
    • /nsr/nwui/monitoring/app/conf/nwui.keystore
    • /opt/nre/java/latest/cacerts
Windowsの場合:
    • C:\Program Files\EMC NetWorker\nwui\monitoring\app\conf\nwui.keystore
    • C:\Program Files\NRE\java\jre#.#.#_###\lib\security\cacerts

Cause

ホストに別のバージョンのOracle Java Runtime Environment (JRE)がインストールされています。Oracle JREのインストールがNREに干渉しています。

Resolution

NetWorkerアプリケーションでは、NRE(NetWorkerランタイム環境)を使用することをお勧めします。NetWorkerサーバーのAUTHCインストール ログには、使用された「Javaパス」が特定されます。

Linuxの場合 /opt/nsr/authc-server/logs/install.log
[root@nsr ~]# cat /opt/nsr/authc-server/logs/install.log | grep "Java Path"
Java Path            Yes        /opt/nre/java/latest
Java Path            Yes        /opt/nre/java/latest
Java Path            Yes        /opt/nre/java/latest
Windowsの場合: %LOCALAPPDATA%\Temp\NetWorker_YYYYMMDDHHmmSS_#_AuthC.log
JAVAHOME = C:\Program Files\NRE\java\jre1.8.0_471
または、管理コマンド プロンプトから次のコマンドを実行します。
echo %NSR_JAVA_HOME%
または、管理PowerShellプロンプト:
$env:NSR_JAVA_HOME
Example:
C:\Users\Administrator.NETWORKER>echo %NSR_JAVA_HOME%
C:\Program Files\NRE\java\jre1.8.0_471

PS C:\Users\Administrator.NETWORKER> $env:NSR_JAVA_HOME
C:\Program Files\NRE\java\jre1.8.0_471


コマンドライン変数を使用して強制する keytool NREからの使用状況:

メモ: これらの変数は、現在のシェルまたはプロンプトにのみ適用されます。セッションが閉じられると、それらはクリアされます。

Linuxの場合

keytool=/opt/nre/java/latest/bin/keytool

Example:

[root@nsr ~]# keytool=/opt/nre/java/latest/bin/keytool

変数を使用して、すべてのkeytoolコマンドを実行します。

[root@nsr ~]# $keytool
Key and Certificate Management Tool

Commands:

 -certreq            Generates a certificate request
 -changealias        Changes an entry's alias
 -delete             Deletes an entry
 -exportcert         Exports certificate
 -genkeypair         Generates a key pair
 -genseckey          Generates a secret key
 -gencert            Generates certificate from a certificate request
 -importcert         Imports a certificate or a certificate chain
 -importpass         Imports a password
 -importkeystore     Imports one or all entries from another keystore
 -keypasswd          Changes the key password of an entry
 -list               Lists entries in a keystore
 -printcert          Prints the content of a certificate
 -printcertreq       Prints the content of a certificate request
 -printcrl           Prints the content of a CRL file
 -storepasswd        Changes the store password of a keystore

Use "keytool -command_name -help" for usage of command_name

Windowsの場合:

コマンド NSR_JAVA_HOME NRE からコマンドを実行するには bin directory.

コマンド プロンプトの例:

"%NSR_JAVA_HOME%\bin\keytool.exe" OPTIONS

PowerShellの例:

& "$env:NSR_JAVA_HOME\bin\keytool.exe" OPTIONS
例:
C:\Users\Administrator.NETWORKER>"%NSR_JAVA_HOME%\bin\keytool.exe"
Key and Certificate Management Tool

Commands:

 -certreq            Generates a certificate request
 -changealias        Changes an entry's alias
 -delete             Deletes an entry
 -exportcert         Exports certificate
 -genkeypair         Generates a key pair
 -genseckey          Generates a secret key
 -gencert            Generates certificate from a certificate request
 -importcert         Imports a certificate or a certificate chain
 -importpass         Imports a password
 -importkeystore     Imports one or all entries from another keystore
 -keypasswd          Changes the key password of an entry
 -list               Lists entries in a keystore
 -printcert          Prints the content of a certificate
 -printcertreq       Prints the content of a certificate request
 -printcrl           Prints the content of a CRL file
 -storepasswd        Changes the store password of a keystore

Use "keytool -command_name -help" for usage of command_name
.............................................................................................................................................................................
PS C:\Users\Administrator.NETWORKER> & "$env:NSR_JAVA_HOME\bin\keytool.exe"
Key and Certificate Management Tool

Commands:

 -certreq            Generates a certificate request
 -changealias        Changes an entry's alias
 -delete             Deletes an entry
 -exportcert         Exports certificate
 -genkeypair         Generates a key pair
 -genseckey          Generates a secret key
 -gencert            Generates certificate from a certificate request
 -importcert         Imports a certificate or a certificate chain
 -importpass         Imports a password
 -importkeystore     Imports one or all entries from another keystore
 -keypasswd          Changes the key password of an entry
 -list               Lists entries in a keystore
 -printcert          Prints the content of a certificate
 -printcertreq       Prints the content of a certificate request
 -printcrl           Prints the content of a CRL file
 -storepasswd        Changes the store password of a keystore

Use "keytool -command_name -help" for usage of command_name

 

NetWorkerがNRE(NetWorkerランタイム環境)を使用しており、別のOracle JRE(Java Runtime Environment)がインストールされている場合は、Oracle JREパッケージを削除します。

Linuxの場合

警告:サーバーがNetWorker Virtual Edition(NVE)の場合は、Oracle JREパッケージを削除しないでください。
  1. 別のJREインストールを確認します。次のコマンドを使用できます。ただし、Linux システム管理者に問い合わせてください。
rpm -qa --last | grep jre
find / -name java -type f
/opt/nre/java/jreX はNetWorkerランタイム環境です。ただし、他のパッケージが表示される場合があります。
/etc/alternatives
/usr/bin/java
/usr/lib/jreX
  1. 別のJREパッケージがインストールされている場合は、削除できるかどうかをLinuxシステム管理者に問い合わせてください。
rpm -e package_name

Windowsの場合: 

  1. Windowsの[コントロール パネル]の[プログラムと機能>]を開きます。
  2. Oracle Java Runtime Environmentパッケージ(NetWorker Runtime Environmentを除く)のリストを確認します。
  3. Oracle Java Runtime Environmentがインストールされている場合は、削除できるかどうかはWindowsシステム管理者に問い合わせてください。
  4. システムからOracle Java Runtime Environmentをアンインストールします。
  5. Oracle JREが削除されたら、新しいコマンド プロンプト セッションを開いてkeytoolコマンドを実行します。

Additional Information

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000297934
Article Type: Solution
Last Modified: 05 Mar 2026
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.