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?

(post deleted by author)

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