When I try to start apache I get the error:
Quote:
(98)Address already in use: make_sock: could not bind to address [::]:443
|
This error seems to be somehow related to my server certs. Go figure???
"netstat -nlp |grep 443" or "...|grep https" I don't see anything.
"lsof -i | grep http" or "... |grep 443" shows nothing.
"ps -elf |grep http" shows nothing running.
I downloaded apache 2.2.21 untar'd and did the following
Quote:
./configure \
--enable-so \
--enable-rewrite=shared \
--enable-headers \
--enable-proxy \
--enable-proxy-balancer \
--enable-proxy-connect \
--enable-proxy-http \
--enable-rewrite \
--enable-ssl
make
make install
|
I edited /usr/local/apache2/conf/httpd.conf and changed the line "Listen 80" to "Listen 443".
I un-commented the line "Include conf/extra/httpd-ssl.conf" and created the server certs.
When I try to start apache it complains about not being able to bind to the address. If I comment the Include line for httpd-ssl.conf it starts. I'm guessing it does not like my certs but I don't know what could be wrong with them. They were created by the following:
Quote:
openssl genrsa -out server.key 1024
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
|
No -des3 on the first line because if you do that it asks for a password.
Am I missing something?

Any insight will be greatly appreciated.
Thank you