AW: ErrorMessage on certificate generation

2004-08-02 Thread thomas . beckmann
Okay, this is for all having the same problem...

Obviously OpenSSL will only work using an empty index.txt. What you have to
do is
- concatenate the content of index.txt with YOUR database file (e. g.
database.txt). So database.txt will contain the information index.txt should
originally keep.
- remove the old index.txt
- create a new (empty) index.txt with "touch index.txt"

It's just a quick an dirty work-around. But it works ;-)

Regards

Thomas

> -Ursprüngliche Nachricht-
> Von: Antoine Latter [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 30. Juli 2004 16:06
> An: [EMAIL PROTECTED]
> Betreff: Re: ErrorMessage on certificate generation
> 
> 
> I was receiving the:
> 
>  "wrong number of fields on line 1 (looking for field 6, got 
> 1, '' left)"
> 
>  error myself, yesterday.
> 
> I fixed it by making sure that my "blank" index.txt was truly and
> properly blank - I had an empty line in the file, which messed
> everything up and caused opessl to segfault, which is probably the
> same as .
> 
> Antoine
> 
> On Fri, 30 Jul 2004 11:43:03 +0200, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > 
> > I am currently developing a routine (UNIX shell script) for 
> automatic
> > certificat generation. The script contains the following command:
> > 
> > openssl ca -config $CADIR/TMF-TestCA.cnf -name 
> $PURPOSE -in $i -out
> > $CADIR/certOut/$REQ.pem
> > 
> > where $PURPOSE names the section of the config file to be used.
> > The command produces the an output as follow:
> > 
> >   Using configuration from 
> /home/OpenSSL-CA/TMF-TestCA/TMF-TestCA.cnf
> >   wrong number of fields on line 1 (looking for field 6, 
> got 1, '' left)
> >   TMF-TestCA/bin/ComputeRequests: line 15:  5411 
> Speicherzugriffsfehler  >>
> >   openssl ca -config $CADIR/TMF-TestCA.cnf -name 
> $PURPOSE -in $i
> > -out $CADIR/certOut/$REQ.pem
> > 
> >  means "memory access error".
> > 
> > Can anybody tell me what's going wrong? Maybe there is 
> anything wrong with
> > my config file?
> > 
> > Best regards
> > 
> > Thomas Beckmann
> > 
> __
> > OpenSSL Project 
http://www.openssl.org
> User Support Mailing List[EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
>
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]


AW: ErrorMessage on certificate generation

2004-08-02 Thread thomas . beckmann
Well, that lead me to some other error messages. But it seems to be the
right way ;-)

Regards

Thomas

> -Ursprüngliche Nachricht-
> Von: Antoine Latter [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 30. Juli 2004 16:06
> An: [EMAIL PROTECTED]
> Betreff: Re: ErrorMessage on certificate generation
> 
> 
> I was receiving the:
> 
>  "wrong number of fields on line 1 (looking for field 6, got 
> 1, '' left)"
> 
>  error myself, yesterday.
> 
> I fixed it by making sure that my "blank" index.txt was truly and
> properly blank - I had an empty line in the file, which messed
> everything up and caused opessl to segfault, which is probably the
> same as .
> 
> Antoine
> 
> On Fri, 30 Jul 2004 11:43:03 +0200, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > 
> > I am currently developing a routine (UNIX shell script) for 
> automatic
> > certificat generation. The script contains the following command:
> > 
> > openssl ca -config $CADIR/TMF-TestCA.cnf -name 
> $PURPOSE -in $i -out
> > $CADIR/certOut/$REQ.pem
> > 
> > where $PURPOSE names the section of the config file to be used.
> > The command produces the an output as follow:
> > 
> >   Using configuration from 
> /home/OpenSSL-CA/TMF-TestCA/TMF-TestCA.cnf
> >   wrong number of fields on line 1 (looking for field 6, 
> got 1, '' left)
> >   TMF-TestCA/bin/ComputeRequests: line 15:  5411 
> Speicherzugriffsfehler  >>
> >   openssl ca -config $CADIR/TMF-TestCA.cnf -name 
> $PURPOSE -in $i
> > -out $CADIR/certOut/$REQ.pem
> > 
> >  means "memory access error".
> > 
> > Can anybody tell me what's going wrong? Maybe there is 
> anything wrong with
> > my config file?
> > 
> > Best regards
> > 
> > Thomas Beckmann
> > 
> __
> > OpenSSL Project 
> http://www.openssl.org
> > User Support Mailing List
> [EMAIL PROTECTED]
> > Automated List Manager   
> [EMAIL PROTECTED]
> >
> __
> OpenSSL Project http://www.openssl.org
> User Support Mailing List[EMAIL PROTECTED]
> Automated List Manager   [EMAIL PROTECTED]
> 
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]