Invalid keystore password when adding android certificate

I’m trying to add a certificate for Android in Appflow. I’ve uploaded my keystore file and filled in the credentials but it keeps telling me “Invalid keystore password. (keystore file password)”. I’m pretty sure I’ve filled in the correct passwords so not sure why it’s giving this error. Checked the network tab to see what data is being send on submit and the credentials are correct (so no typos).

One thing that’s not really clear is that it asks for certificate password. I assume this is the keystore password but maybe it’s something else?

The solution for me was to use the keytool from JDK 19 (oldest available version) in stead of JDK 22 (current LTS).

I just found the issue here for me which might help you or someone else. The passwords for the keystore and the key alias MUST be the same. If you have a different password for the key alias, then it does not work for some reason. Just make sure you use the same password for both and then it works fine. And only enter in the cert pass & key alias. I used a free tool called KeyStore Explorer which allows you to change your cert password as well as right clicking on the alias allows you to change the alias password.
Hope this helps.