Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top