PFX to JKS keytool conversion: Alias <*> does not exist
I'm trying to convert x.PFX file to x.JKS file using keytool but I am getting following error: keytool error: java.lang.Exception: Alias <2> does not exist Actions that preceded this error are: Listing x.PFX file content (just to read alias name): keytool -v -list -storetype pkcs12 -keystore x.pfx Enter keystore password: x Keystore type: PKCS12 Keystore provider: SunJSSE Your keystore contains 1 entry Alias name: 2 Creation date: 11-nov-2012 Entry type: PrivateKeyEntry Certificate chain length: 3 Certificate[1]: Owner: CN=x, OU=x, C=x Issuer: CN=x, O=x, C=x Serial number: x Valid from: Wed