NetWorker: java.io.IOException: Geçersiz anahtar deposu biçimi

Summary: NetWorker AUTHC veya NetWorker Web Kullanıcı Arayüzü (NWUI) anahtar deposu dosyaları java keytool kullanılarak listelenemiyor veya değiştirilemiyor.

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 Kimlik Doğrulama (AUTHC) sunucusu veya NetWorker Web Kullanıcı Arayüzü (NWUI) sunucusu, Java Runtime Environment ı (JRE) içerir. Bu işlem genellikle NetWorker Çalışma Zamanı Ortamı (NRE) kullanılarak kolaylaştırılır.

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

NOT: Windows ana bilgisayarlarında "en yeni" sembolik bağlantı yoktur. Hangi NRE sürümünün yüklü olduğuna bağlı olarak JRE yolu, NRE sürümüyle birlikte gelen JRE sürümünü içerir.

Kullanırken keytool NetWorker authc/NWUI anahtar deposu dosyalarını gözden geçirme komutunu verdiğinde bir java hatası görüntülenir:

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

Bu hata, çalışırken bile görünüyor. keytool komutunu doğrudan NRE java bin dizininden edinebilirsiniz.

NetWorker sunucusu anahtar deposu dosyaları:

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 Kullanıcı Arayüzü (NWUI) Dosyaları:
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

Ana bilgisayarda Oracle Java Runtime Environment ın (JRE) başka bir sürümü yüklü. Oracle JRE yüklemesi NRE'yi engelliyor.

Resolution

NetWorker uygulamalarıyla NetWorker Çalışma Zamanı Ortamının (NRE) kullanılması önerilir. NetWorker sunucusunun AUTHC kurulum günlüğünde hangi "Java Yolunun" kullanıldığı tanımlanır:

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
Alternatif olarak, bir Yönetici komut isteminden şu komutu çalıştırın:
echo %NSR_JAVA_HOME%
Alternatif olarak Administrative PowerShell prompt:
$env:NSR_JAVA_HOME
Örneğin:
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


Zorlamak için bir komut satırı değişkeni kullanın keytool NRE'den kullanım:

NOT: Bu değişkenler yalnızca geçerli kabuk veya istem için geçerlidir. Oturum kapatıldıktan sonra temizlenir.

Linux:

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

Örneğin:

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

Şu değişkeni kullanarak tüm keytool komutlarını çalıştırın:

[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:

Video (Video) öğesini vurgulamak için NSR_JAVA_HOME NRE'den komutları çalıştırmak için bin Dizin.

Komut İstemi Örneği:

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

PowerShell Örneği:

& "$env:NSR_JAVA_HOME\bin\keytool.exe" OPTIONS
Örnekler:
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, NetWorker Çalışma Zamanı Ortamını (NRE) kullanıyorsa ve başka bir Oracle Java Çalışma Zamanı Ortamı (JRE) kuruluysa Oracle JRE paketini kaldırın.

Linux:

UYARI: Sunucu, bir NetWorker Virtual Edition (NVE) ise Oracle JRE paketini kaldırmayın.
  1. Başka bir JRE yüklemesi olup olmadığını kontrol edin; aşağıdaki komutlar kullanılabilir; ancak, Linux sistem yöneticinize danışın:
rpm -qa --last | grep jre
find / -name java -type f
/opt/nre/java/jreX , NetWorker Çalışma Zamanı Ortamıdır; Ancak, diğer paketler görünebilir:
/etc/alternatives
/usr/bin/java
/usr/lib/jreX
  1. Başka bir JRE paketi kuruluysa, kaldırılıp kaldırılamayacağı konusunda Linux Sistem Yöneticisine danışın.
rpm -e package_name

Windows: 

  1. Windows Denetim Masası -> Programlar ve Özellikler'i açın.
  2. Oracle Java Runtime Environment paketinin listesini gözden geçirin (NetWorker Runtime Environment hariç).
  3. Oracle Java Runtime Environment yüklüyse kaldırılıp kaldırılamayacağı konusunda Windows Sistem Yöneticisine danışın.
  4. Oracle Java Runtime Environment ı sistemden kaldırın.
  5. Oracle JRE kaldırıldıktan sonra keytool komutlarını çalıştırmak için yeni bir komut istemi oturumu açın.

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.