Showing posts with label Alfresco Invalid keystore format. Show all posts
Showing posts with label Alfresco Invalid keystore format. Show all posts
Alfresco Invalid keystore format

Alfresco Invalid keystore format

Alfresco Invalid keystore format

Ever got into the issue below while installing the cert?

I:\Alfresco51\alf_data\keystore>F:\Alfresco51\java\bin\keytool -list -v -keystore ssl.keystore
keytool error: java.io.IOException: Invalid keystore format
java.io.IOException: Invalid keystore format
        at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
        at sun.security.provider.KeyStoreDelegator.engineLoad(Unknown Source)
        at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(Unknown S
ource)
        at java.security.KeyStore.load(Unknown Source)
        at sun.security.tools.keytool.Main.doCommands(Unknown Source)
        at sun.security.tools.keytool.Main.run(Unknown Source)
        at sun.security.tools.keytool.Main.main(Unknown Source)


Try below Solution

Check if you are appending the keytool parameter -storeType with values like JCEKS/JKS/PKCS12