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?

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top