Solved

entering the apache ssl password automatically.

Posted on 2006-07-17
4
260 Views
Last Modified: 2012-08-14
Hi there
We have an apache 2 server running on red hat.
We have an SSL certificate protected by a password that we have to enter every time we restart the server or the apache service.
Is there a method to automate this procedure so that entering the pass would not be necessary?
0
Comment
Question by:eggster34
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:Tol_cv
ID: 17129525
you can provide the passwd with an external program and directive SSLPassPhraseDialog

http://httpd.apache.org/docs/2.0/mod/mod_ssl.html.

another solution would be to remove the  certificate password
0
 

Author Comment

by:eggster34
ID: 17133332
I don't really understand. Is there anyone who has done it before where it's documented or is it just an idea?
what would the external program be like? how should I write it?
0
 
LVL 4

Accepted Solution

by:
Tol_cv earned 500 total points
ID: 17136581
for just the passphrase and no other checks, a simple bash script can be:

#!/bin/bash
# This file is /var/lib/apache/conf/sslpass
echo "<your apache password>"


in apache config:

SSLPassPhraseDialog      exec:/var/lib/apache/conf/sslpass


0
 

Author Comment

by:eggster34
ID: 17141572
ok let me try this.
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question