Solved

entering the apache ssl password automatically.

Posted on 2006-07-17
4
258 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
  • 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 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