entering the apache ssl password automatically.

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?
eggster34Asked:
Who is Participating?
 
Tol_cvConnect With a Mentor Commented:
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
 
Tol_cvCommented:
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
 
eggster34Author Commented:
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
 
eggster34Author Commented:
ok let me try this.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.