------=_NextPart_000_0003_01C1C5F4.2F265D20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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
------=_NextPart_000_0003_01C1C5F4.2F265D20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial=20
size=3D2>Hi!</FONT></SPAN></DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial size=3D2>I' m =
experiencing=20
difficulties while trying to sign a certificate request (openssl ca =
-keyfile=20
./private/caKey.pem -in ./private/gatewayReq.pem -out gatewayCert.pem =
-outdir=20
./certs). The error message is: wrong number of fields on line 2 =
(looking for=20
field 6, got 1, '' left)</FONT></SPAN></DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial size=3D2>Who =
can help solving=20
this problem?</FONT></SPAN></DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial size=3D2>Thanx =
in=20
advance!</FONT></SPAN></DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D931451415-07032002><FONT face=3DArial size=3D2>Stefan =
Homberg</FONT></SPAN></DIV></BODY></HTML>
------=_NextPart_000_0003_01C1C5F4.2F265D20--
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org
thanx for your help! I have checked and re-edited my index.txt file (with
emacs) but unfortunately the problem remains more or less the same. The
error message now is wrong number of fields on line 1 (looking for field 6,
got 6,
'/C=DE/O=riofactory_GmbH/CN=riofactoryTestCA/Email=hom...@riofactory.de'
left)
And my index.txt looks like this:
V 060308132400Z "leer" 00 unknown
/C=DE/O=riofactory_GmbH/CN=riofactoryTestCA/Email=hom...@riofactory.de
Bye...
Stefan
----- Original Message -----
From: "Steve Wirth" <steve...@ginit-technology.com>
To: <openss...@openssl.org>
Cc: <hom...@riofactory.de>
Sent: Thursday, March 07, 2002 6:19 PM
Subject: Re: Question concerning signing of a certificate request
> 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 steve...@ginit-technology.com
> 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