keytool error: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() — data isn’t an object ID (tag = 48)

  java-8, keytool, openssl, ssl-certificate, windows

I am trying to generate keystore using keytool and getting below error –

D:Javabin>keytool -importkeystore -srckeystore cert1.p12 -srcstoretype pkcs12 -destkeystore cert1.keystore -deststoretype JKS
Enter destination keystore password:
Re-enter new password:
Enter source keystore password:
keytool error: java.io.IOException: parseAlgParameters failed: ObjectIdentifier() -- data isn't an object ID (tag = 48)

Source: Windows Questions

LEAVE A COMMENT