hi,

your problem is in the "index.txt" file (located in your CA-directory). The individual 
entries in each line of that file must absolutely be separated by TABs, not by spaces!

Your "index.txt" probably got messed up, meaning that the tabs were converted to 
spaces (maybe you saved it from a text editor?). This means OpenSSL's functions are 
not able to parse it any more - they find 1 item per line instead of the 6 expected.

Take a look at http://www.dfn-pca.de/certify/ssl/handbuch/ossl095/ossl095-7.html#ss7.1 
for an in-depth description of how to construct a valid index.txt

Cheers,
Steve

Stefan Homberg wrote:

>  Hi!I' m experiencing difficulties while trying to sign a certificate request 
>(openssl ca -keyfile ./private/caKey.pem -in ./private/gatewayReq.pem -out 
>gatewayCert.pem -outdir ./certs). The error message is: wrong number of fields on 
>line 2 (looking for field 6, got 1, '' left)Who can help solving this problem?Thanx 
>in advance!Stefan Homberg

--
_____________________________________________________________________

   GINIT Technology GmbH           [EMAIL PROTECTED]
   Steve Wirth                                  PGP-Key: 0x17FA604D
   Emmy-Noether-Str. 11                    www.ginit-technology.com
                                           phone: +49-721-96681-0
   D-76131 Karlsruhe                         fax: +49-721-96681-111


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to