Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2007 14:01:30 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        ports@freebsd.org
Subject:   Re: problems starting apache22 at boot
Message-ID:  <17892.32778.96006.940241@jerusalem.litteratus.org>
In-Reply-To: <20070227175955.GH844@turion.vk2pj.dyndns.org>
References:  <200702271322.l1RDMlPt001385@jerusalem.litteratus.org> <17892.20813.105208.766283@jerusalem.litteratus.org> <20070227175955.GH844@turion.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Peter Jeremy writes:

>  >[Tue Feb 27 08:21:12 2007] [error] Init: Private key not found
>  
>  I'd start with this error:  Do you have a private SSL server key
>  located where apache expects to find it?

	From http-ssl.conf:

#   Server Private Key:
#   If the key is not combined with the certificate, use this
#   directive to point at the key file.  Keep in mind that if
#   you've both a RSA and a DSA private key you can configure
#   both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /usr/local/etc/apache22/ssl/www.litteratus.org.key

	and:

huff@>> dir /usr/local/etc/apache22/ssl
total 14
drwx------  3 root  wheel   512 Jan 31 18:45 .
drwxr-xr-x  8 root  wheel   512 Feb 16 08:57 ..
-rw-r--r--  1 root  wheel     0 Jan 31  2006 privkey.pem
drwxr-xr-x  2 root  wheel   512 Jan 31 18:43 save
-rw-------  1 root  wheel  2074 Jan 31 18:42 www.litteratus.org.crt
-rw-------  1 root  wheel  3307 Jan 31 18:42 www.litteratus.org.key

	Is there possibly a permissions problem?
	(What's bugging me about this is why it works in one case and
not the other.)


				Robert Huff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17892.32778.96006.940241>