can't create key

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
gcl
OpenVpn Newbie
Posts: 2
Joined: Wed Dec 16, 2009 10:46 pm

can't create key

Post by gcl » Wed Dec 16, 2009 11:00 pm

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?

Thanks.

gcl
OpenVpn Newbie
Posts: 2
Joined: Wed Dec 16, 2009 10:46 pm

Re: can't create key

Post by gcl » Thu Dec 17, 2009 3:31 pm

Solved my own problem.

The issue is the 2038 gmtime() bug.

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

Post Reply