Keytool asking for password for keystore , none applied ever

We are on ES version 7.17 and trying to setting up cross cluster ( remote ). I am trying to add cert from one node to remote in the elastic-certificates.p12 file using below command

keytool -importcert -noprompt -keystore /etc/elasticsearch/elastic-certificates.p12 -alias WT-Kibana -file /tmp/elastic.pem

its telling me keystore is password protected, i never had one and can confirm with below command

/usr/share/elasticsearch/bin/elasticsearch-keystore has-passwd

ERROR: Keystore is not password-protected

I have tried keytool from java and elasticsearch, is there a default ES keystore password ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.