Question

I get the following error when I to use my keystore :

$ keytool -list -keystore instavert.keystore

  keytool error : java.security.cert.CertificateParsingException: java.io.IOException: Parse Generalized time, invalid format

I searched on Google and SO, but none of the solution worked...

Did anyone ever experienced the same issue?

Was it helpful?

Solution

You get this exception when you specified too big value for validity. Keytool does not do a great job on input validation when creating the keys and then it is not able to read the generated keystore. It is better to keep a backup from the keystore.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top