problems starting apache22 at boot

Robert Huff roberthuff at rcn.com
Tue Feb 27 19:02:03 UTC 2007


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


More information about the freebsd-ports mailing list