Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-13-2005, 06:33 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Unhappy why can't i generate a new certificate with openssl?

i've been working on generating certificates with openssl, i've generated a ca certificate, a private key as well as a request, but when i type the command to generate a user certificate i got this error message:
"using configuration from openssl.cnf
wrong number of fields on line 1( looking for fields 6, get 1, ' ' lefts) "
the line 1 mentioned here, as i understood, is the line 1 of the openssl.cnf and it contains a comment !!!
the problem is that i have already worked with this same configuration file and it worked successfully, and i'm sure that i haven't made any modification on it.

thanks ,
Old 04-28-2005, 08:15 AM   #2
LQ Newbie
Registered: Apr 2005
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
I got this error recently, because I deleted the last line in the Index.txt file but I did not delete the newline character.
Try editing the file and delete all newlines (lf) in it.
Old 01-04-2018, 03:01 PM   #3
LQ Newbie
Registered: Jan 2018
Posts: 1

Rep: Reputation: Disabled
Wink Thanks, that helped

Thank you for this. You would think 13 years later that openssl would have improved the error message to see what file it was talking about. I had a blank line and it got totally confused. This should be reported as a bug.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create OpenSSL certificate for use in IIS 6.0 Pastorino Linux - Security 3 09-23-2005 08:50 AM
Using OpenSSL to generate certificates 24jedi Linux - Software 5 09-10-2005 01:01 AM
OpenSSL + Apache certificate, how? The_Nerd Linux - Software 2 12-26-2004 10:18 PM
Thawte Certificate and OpenSSL jqcaducifer Linux - Security 5 10-16-2003 07:43 PM
Certificate with OpenSSL gr33ndata Linux - Security 3 10-03-2003 08:39 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration