LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-10-2005, 03:12 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Rep: Reputation: 52
where does openssl expect the config file


I've been following an "openssl HOWTO" specific to FC2. There is a short reference to a "configuration file" but no mention of where it is supposed to be located nor how it should be named.
This howto assumes openssl is installed in /opt/ but I found it in /usr/bin/ so I substituted all /opt/ by /usr/bin/ for the creation of the required directories and files.
A little further down this howto there is a line to be typed as follows:
OPENSSL_CONF=/usr/bin/LocalCA/LocalCA.cnf
which I thought was the configuration file, I then named the configuration file LocalCA.cnf and copied it into /usr/bin/LocalCA/ but I get a message
"unable to load Config info"
before being asked to :
"Enter PEM Pass phrase:"
it then crashes after another complaint concerning the config file.

Does anyone know where this config file is expected and how it should be named?

Thank you.

Last edited by rblampain; 08-10-2005 at 03:14 AM.
 
Old 08-11-2005, 03:40 PM   #2
joelkeeble
Member
 
Registered: Mar 2005
Posts: 50

Rep: Reputation: 15
/etc/ssl/openssl.cnf

I think this should answer your q's
 
Old 08-12-2005, 07:37 AM   #3
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
to joelkeeble:
I have no subdirectory ssl in /etc, do I have OpenSSL not configured?
 
Old 08-12-2005, 08:19 AM   #4
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
The conf file will depend on how you installed OpenSSL. If you installed via RPM, it will likely be in /usr/ssl or /usr/openssl. If you installed from the source code, it will likely be in {$PREFIX}/ssl
 
Old 08-12-2005, 09:11 AM   #5
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
This was installed with the distro (FC2).
I found the following:
/usr/share/ssl/openssl.cnf

It looks like I'll have to read the docs a lot more to find out what's going on.

Thank you all for your help.
 
  


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
expect - read passphrase from a file hk_linux Programming 2 03-01-2018 02:34 AM
Could not find working OpenSSL library, please install or check config.log -newb ques botman SUSE / openSUSE 4 10-19-2005 05:03 PM
openssl on slack 10 unable to read certificate from file chr15t0 Slackware 1 09-13-2005 10:46 AM
Slackware8.0 .SlackBuild file for OpenSSH & OpenSSL init6 Slackware 1 09-20-2003 10:01 AM
File Manager SU mode using expect Allen614 Programming 0 02-26-2003 01:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration