Issue while generating SSL certificate using Apache 2.216 + openssl 0.9.8o

We are facing a strange Issue while generating SSL certificate using
Apache 2.216 + openssl 0.9.8o with command

>> openssl x509 -req -passin pass:xxxx -days 9999 -in server.csr -signkey 
>> server.key –out server.crt

the script executes with following error:

Loading 'screen' into random state - done
Signature ok
subject=/CN=vdmd-inst-test2.panacya.com
Getting Private key
3344:error:0D0AF0AD:asn1 encoding routines:ASN1_TIME_set:error getting
time:.\crypto\asn1\a_time.c:109:
3344:error:0D0AF0AD:asn1 encoding routines:ASN1_TIME_set:error getting
time:.\crypto\asn1\a_time.c:109:

and generates certificate(.crt) file with 0 kb size.

We found that the error is due to the –days 9999 option. And when we
change the value 9996 this works fine. and 9999 was working fine three
date before (03-sept-2010. it seems to be issue related to the date
range.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to