Re: apache

From: Andrew McNaughton (andrew@scoop.co.nz)
Date: 04/25/02


Date: Fri, 26 Apr 2002 07:32:11 +1200 (NZST)
From: Andrew McNaughton <andrew@scoop.co.nz>
To: ANdrei <andrei@abc.ro>


On Thu, 25 Apr 2002, ANdrei wrote:

> let me give you a scenario that i want solved :)
>
> i have a webserver that needs to run apache with SSL (httpd -SSL, if i
> remember correctly), but the server is not considered to be secure
> enough to have an unencrypted key on it's hard drives... so the key is
> crypted, but then, again, apache is unable to start with SSL enabled if
> somebody doesn't enter the passphrase by hand... i'm talking about
> apache with mod-ssl, it's one of many big servers, and any minute of it
> not being up is a big pain in the ass, so starting apache on every
> server every time by entering the passphrase by hand is not what i am
> looking for... starting it from a script where the passphrase is plain
> text is also considered to be insecure for what i need....

Either your server has access to the key or it doesn't. If your server
has access to the key then someone who gets root on the box can get the
key. There is NO way around this.

If you think it's any improvement, you can have your script contact
another box for the passphrase, and that will mean you can at least log
the event reliably. It might still involve human entry of the passphrase,
but at least you can centralise that.

Andrew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message



Relevant Pages

  • RE: php4
    ... Mod_php4 only gets loaded if you define SSL. ... Of course I restarted apache after the install... ... # Based upon the NCSA server configuration files originally by Rob McCool. ... Not all browsers support this. ...
    (freebsd-newbies)
  • RE: php4
    ... Mod_php4 only gets loaded if you define SSL. ... Of course I restarted apache after the install... ... # Based upon the NCSA server configuration files originally by Rob McCool. ... Not all browsers support this. ...
    (freebsd-questions)
  • Re: Get remote IP in self-calling script
    ... environment variable contains the IP of the server. ... Post your perl code together with the two form HTML page (the first one, ... And in fact to load a page via ssl, no matter if html or perl, the ... and why apache behaves like this. ...
    (comp.lang.perl.misc)
  • Re: apache
    ... > i have a webserver that needs to run apache with SSL (httpd -SSL, ... > somebody doesn't enter the passphrase by hand... ... > server every time by entering the passphrase by hand is not what i am ... The solution that i opted for was to create a server on a secure network ...
    (FreeBSD-Security)
  • Re: Get remote IP in self-calling script
    ... environment variable contains the IP of the server. ... The remote IP should already be logged, ... And in fact to load a page via ssl, no matter if html or perl, the customers of my ISP have to write the prefix ... and why apache behaves like this. ...
    (comp.lang.perl.misc)

Quantcast