LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-11-2009, 08:22 AM   #1
funkflex2004
LQ Newbie
 
Registered: Nov 2009
Location: London
Distribution: Debian, CentOS, Ubuntu
Posts: 5

Rep: Reputation: 0
OpenSSL generate cert error


I'm attempting to generate certificate using easy-rsa that comes with OpenVPN.
I get this error:
"Wrong number of fields on line 27 (looking for field 6, got 1, '' left)"

I already have 27 verified entries in the index.txt file as defined in openssl.cnf and the serial# in the serial file is in sequence to the serial column in the index.txt

I've googled and seen similar error but regarding 1 line only:
"Wrong number of fields on line 1 (looking for field 6, got 1, '' left)"
the solution to that is to make sure that the index.txt file is truly empty.

Obviously in my case I have 27 entries to keep.

Anyone for solutions?

I've made sure there's no "new line feed" at the end of the index.txt file

Last edited by funkflex2004; 11-11-2009 at 05:08 PM. Reason: extra info
 
Old 11-12-2009, 01:02 PM   #2
funkflex2004
LQ Newbie
 
Registered: Nov 2009
Location: London
Distribution: Debian, CentOS, Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Found the problem...

white-spaces were used between fields instead of tab on the offending line.

Silly me..
 
  


Reply


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
openssl ssl error code 14090086 verify the CA cert is ok / certificate verify failed acummings Slackware 14 02-27-2009 01:51 AM
Ask openssl | create self sign cert for not prompting password | WorldIsNotFair Linux - Server 2 10-19-2008 10:55 PM
How can I generate cert.pem for TLS? abefroman Linux - Software 1 06-15-2008 08:17 AM
OpenSSL: generate Intermediate CA? new_to_open_ssl Linux - Security 15 01-24-2006 07:29 AM
cert request using openssl pldobs Linux - Security 1 11-21-2004 09:35 AM


All times are GMT -5. The time now is 10:46 PM.

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