On Wed, 3 Apr 2002, Hao Shi wrote: > I have installed and used OpenSSL for several weeks. > But yesterday I met error! > > When I use "openssl ca" command ,it will display > error: > -- wrong number of fields on line 1(looking for field > 6, got 1, ''left -- > > Then I reset the config file and installed openssl > again. The question disappeared for a while , but > appeared again later. This time ,I can not solve it. > > The other commands in openssl all are right, such as > x509, only ca command is wrong. >
check in openssl.conf you use for your ca command field 'database' - it should be pointing to file index.txt which serves as a database file for your CA. errror message you get means,that this index.txt file has wrong format.Most probably,you(or someone else) tried to edit it and saved it in wrong format ... The correct format is : 'STATUS'\t'DATEOFSIGN'\t'DATEOFREVOKE'\t'SERIAL'\t'ALIAS'\t'DISTINGUISHEDNAME' It seems like you have empty line(mabye only carriege return) in index.txt > Please give me some advice. Your help will be highly > appreciated. > > Thank you! > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > -- snail-mail : Michal Bachorik Nedozerskeho 207 Nedozery 972 12 SLOVAKIA phone : +421 862 54 85 220 e-mail : [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]