Page 1 of 1

can't create key

Posted: Wed Dec 16, 2009 11:00 pm
by gcl
The command:

openssl req -days 10585 -nodes -new -x509 -keyout %KEY_DIR%\ca.key -out %KEY_DIR%\ca.crt -config %KEY_CONFIG%

results in an error:

error 0D0AF0AD:asn1 encoding routines:ASN1_TIME_set:errror getting time:.\crypto\asn1\a_time.c:109:

I used to be able to install this without any problem. The system is Windows Server 2003.

Any suggestions?


Re: can't create key

Posted: Thu Dec 17, 2009 3:31 pm
by gcl
Solved my own problem.

The issue is the 2038 gmtime() bug.

Can't push the expiration date past 2038 for the cert.