Searched all the questions related to recover key
error, got no answer on my situation.
So, I just have several simple operations:
- install jmeter 4.0 (on centos 7)
- cd to the
bin
directory, run./create-rmi-keystore.sh
and pressedEnter
in each steps(entered a password123654
at final step), and finally it gives meWarning: The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore rmi_keystore.jks -destkeystore rmi_keystore.jks -deststoretype pkcs12". Copy the generated rmi_keystore.jks to jmeter/bin folder or reference it in property 'server.rmi.ssl.keystore.file'
- so I run
keytool -importkeystore -srckeystore rmi_keystore.jks -destkeystore rmi_keystore.jks -deststoretype pkcs12
and give a password123654
- It gives me:
Enter source keystore password:
keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
Can anybody give a hand, Thanks advance:)
solved by this , to answer the question
What is your first and last name?
, you'll have to reply withrmi
which must be a corresponding value withserver.rmi.ssl.keystore.alias
injmeter.propertise
.