In this step of the exercise, i need to import the node's signed certificate into the node's keystore.
ubuntu@ds210-node1:~/keys$ keytool -keystore node3-serverkeystore.jks -alias node1 -import -file node3_cert_signed -keypass cassandra -storepass cassandra
Certificate was added to keystore
ubuntu@ds210-node1:~/keys$ keytool -keystore node1-serverkeystore.jks -alias node1 -import -file node1_cert_signed -keypass cassandra -storepass cassandra
keytool error: java.lang.Exception: Public keys in reply and keystore don't match
I do not understand why there is an error in node 1 import where the Public keys in reply and keystore don't match while there is no issue with node 3 import.
What is the error here?