NetWorker: keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect'

Riepilogo: The NetWorker Runtime Environment (NRE) keytool command returns the following error when attempting to access the NRE cacerts file "keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect." ...

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

The NetWorker Runtime Environment (NRE) includes a keytool utility used to manage multiple keystore and truststore files.
The keytool command returns the following error when used to manage the NRE cacerts file:

# /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

Causa

This issue can be caused by using the incorrect keystore password when attempting to run the keytool command. For example, the NetWorker authentication server (AUTHC) keystore password was used with the keytool command instead of the default NRE cacerts

Risoluzione

The Java keystore password is not the same AUTHC keystore password that was set when installing NetWorker, but is instead the JAVA keystore password. The default password is changeit.

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

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,
NOTE: Since the output of this command may be long, the above example uses Operating system commands, grep (Linux) and findstr (Windows) to filter for the local NetWorker AUTHC tomcat certificate. On Windows hosts, the Java bin directory path differs depending on the NRE version installed.

Informazioni aggiuntive

NOTE: The keytool command is used to manage the CA certificates imported into NRE. This is required when integrating Secure Lightweight Directory Access Protocol (LDAPS) authentication with NetWorker: NetWorker: How To configure LDAPS Authentication

If the NetWorker Runtime Environment (NRE) is installed, the Java Runtime Environment (JRE) folder is located:

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


Oracle Java Runtime Environment (JRE) can be found:

  • Linux:  /usr/java/latest 
  • Windows: C:\Program Files\Java (You must select the latest version folder)

Prodotti interessati

NetWorker

Prodotti

NetWorker Family
Proprietà dell'articolo
Numero articolo: 000038944
Tipo di articolo: Solution
Ultima modifica: 11 set 2025
Versione:  5
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.