I installed a HDF cluster via Ambari and enabled NiFi SSL with NiFi CA. In the Ambari configurations, I put in the keystore and truststore path as:
/usr/hdf/current/nifi/conf/keystore.jks # same for truststore.jks
The HDF cluster seems working well but when I try to inspect the keystore / truststore file using command like below:
keytool -v -list -keystore keystore.jks # also tried with absolute path even without the `current` # link folder
I get a file not exist problem like below:
[ec2-user@nifi01 conf]$ keytool -v -list -storepass changeit -storetype jks -keystore /usr/hdf/184.108.40.206-35/nifi/conf/keystore.jks keytool error: java.lang.Exception: Keystore file does not exist: /usr/hdf/220.127.116.11-35/nifi/conf/keystore.jks java.lang.Exception: Keystore file does not exist: /usr/hdf/18.104.22.168-35/nifi/conf/keystore.jks at sun.security.tools.keytool.Main.doCommands(Main.java:783) at sun.security.tools.keytool.Main.run(Main.java:366) at sun.security.tools.keytool.Main.main(Main.java:359)
But when I do the `ls` command, the file is right there.
Anything I missed? I just need to check the content within the keystore/truststore