RE: Apache not listening on port 443

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

Look for "Port" or "Listen" directives in your httpd.conf file.  What do you
see?  You should see something line:

Listen 80
Listen 443

Or

Port 80
Port 443

----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau   


-----Original Message-----
From: Daniel D Jones [mailto:ddjones@xxxxxxxxxxxxxxxx] 
Sent: Saturday, July 28, 2007 9:00 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  Apache not listening on port 443

Running Apache 2.2.3 on Debian Etch.  I recently rebuilt my server and am in

the process of getting all services up and functioning.  I have apache2 
installed and functional.  I'm not trying to get ssl working.  I belive I 
have everything installed and configured.  I get no errors when I restart 
apache.  But apache is listening solely on port 80.

I have a site enabled:

<VirtualHost www.riddlemaster.org:443>

        DocumentRoot /var/https
        ServerAdmin root@xxxxxxxxxxxxxxxx
        ServerName www.riddlemaster.org
        SSLEngine On
        SSLCertificateFile /etc/apache2/ssl/apache.pem
        ErrorLog /var/log/apache2/https.log
        LogLevel debug

	<location />
        	Order allow,deny
	        Allow from all
	<location>

</VirtualHost>

The site file is being read.  If I introduce an error in the site 
configuration, it's detected.  The log file is created.  With logging set to

debug, it contains the following twice:

[Sat Jul 28 21:40:18 2007] [info] Loading certificate & private key of 
SSL-aware server
[Sat Jul 28 21:40:18 2007] [debug] ssl_engine_pphrase.c(469): unencrypted
RSA 
private key - pass phrase not required
[Sat Jul 28 21:40:18 2007] [info] Configuring server for SSL protocol
[Sat Jul 28 21:40:18 2007] [debug] ssl_engine_init.c(405): Creating new SSL 
context (protocols: SSLv2, SSLv3, TLSv1)
[Sat Jul 28 21:40:18 2007] [debug] ssl_engine_init.c(729): Configuring RSA 
server certificate
[Sat Jul 28 21:40:18 2007] [warn] RSA server certificate is a CA certificate

(BasicConstraints: CA == TRUE !?)
[Sat Jul 28 21:40:18 2007] [debug] ssl_engine_init.c(768): Configuring RSA 
server private key

Other than the one warning concerning the CA certificate, which I believe is

normal when using a self signed cert, I can not find any errors or
complaints 
from Apache.  Yet running nmap on the server shows port 80 open but port 443

closed.

I've shut  down the firewall on the server and verified that iptables is not

blocking access to the port.  I have no idea what to look at next to figure 
out why Apache isn't listening on port 443.  Any hints or suggestions
greatly 
appreciated.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux