Solved

entering the apache ssl password automatically.

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

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…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now