Re: Apache SSL

From: Tom Organ (tom-nospam_at_mintcover.com)
Date: 11/24/03


Date: Mon, 24 Nov 2003 12:28:29 +1000


"al" <allen@somplace.com> wrote in message
news:IU2mb.5952$Je1.5598@newssvr29.news.prodigy.com...
> Hi all,
> Everytime I had to restart my Apache or reboot the server, I always have
to
> enter the SSL pass phrase.
>
> see below:
>
>
> service httpd restart
> Stopping httpd: [ OK ]
> Starting httpd: Apache/2.0.40 mod_ssl/2.0.40 (Pass Phrase Dialog)
> Some of your private key files are encrypted for security reasons.
> In order to read them you have to provide us with the pass phrases.
>
> Server new.host.name:443 (RSA)
> Enter pass phrase: mypassword
> Ok: Pass Phrase Dialog successful.
>
>
> How can I automate the SSL pass phrase?
>
> Thanks,
>
> Al
>
The SSL passphrase has been added for the protection of the cert by whoever
created the cert for you.
You could write an expect script to automate the process but would have to
have the SSL cert password written in your script in plain text (unless
anyone can suggest some safe way to encrypt the password and still pass it
to the apache startup process???)
Try a search on 'expect' and script or tcl
http://www.google.com/search?q=expect+script



Relevant Pages

  • Re: Apache SSL
    ... > Everytime I had to restart my Apache or reboot the server, ... > enter the SSL pass phrase. ... > How can I automate the SSL pass phrase? ...
    (linux.redhat.install)
  • Re: Apache SSL
    ... > Everytime I had to restart my Apache or reboot the server, ... > enter the SSL pass phrase. ... > How can I automate the SSL pass phrase? ...
    (alt.os.linux.redhat)
  • Re: Apache SSL
    ... > Everytime I had to restart my Apache or reboot the server, ... > enter the SSL pass phrase. ... > How can I automate the SSL pass phrase? ...
    (linux.redhat)
  • Re: Apache SSL
    ... > Everytime I had to restart my Apache or reboot the server, ... > enter the SSL pass phrase. ... > How can I automate the SSL pass phrase? ... Use an unencrypted private key instead of an encrypted one. ...
    (alt.os.linux.redhat)
  • libapache-mod-ssl
    ... " If you don't have a virtual host but just one default server, ... So then when it was time to stop and start apache, ... Starting web server: apacheApache/1.3.26 mod_ssl/2.8.9 (Pass Phrase ... (OpenSSL library error follows) ...
    (Debian-User)