I am trying to upload my Android Keystore but am getting the following error:
Invalid JKS Keystore: Invalid keystore format
I have checked the keystore using the keytool cli and it is valid.
Can you please help?
I am trying to upload my Android Keystore but am getting the following error:
Invalid JKS Keystore: Invalid keystore format
I have checked the keystore using the keytool cli and it is valid.
Can you please help?
Hi @priyesh.g
If I download a keystore for a test app from expo.dev
and then list
it I get this:
% keytool -list -keystore @wodin__deps-keystore.bak.jks
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
abcdef0123456789abcdef0123456789, 13 Feb 2022, PrivateKeyEntry,
Certificate fingerprint (SHA-256): 01:23:45:67:89:AB:CD:EF:01:23:45:67:89:AB:CD:EF:01:23:45:67:89:AB:CD:EF:01:23:45:67:89:AB:CD:EF
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore @wodin__deps-keystore.bak.jks -destkeystore @wodin__deps-keystore.bak.jks -deststoretype pkcs12".
I’m not sure if it has to be in the JKS format, but maybe give that a try if yours is not currently in JKS format? (Yours might be in PKCS12 format).
I think the following should do the conversion:
keytool -importkeystore -srckeystore your-original.jks -destkeystore your-converted.jks -deststoretype jks