[TriLUG] Apache SSL on CentOS 4

Tarus Balog tarus at opennms.org
Tue Feb 27 17:38:03 EST 2007


Gang:

I'm moving from Debian to CentOS 4, and I'm running into an issue  
with Apache and SSL.

I've installed httpd and mod_ssl, but I can't seem to connect via a  
browser to https://www.example.com.

If I telnet to the port I get:

kyle:~ tarus$ telnet www.example.com 443
Trying 64.146.64.210...
Connected to www.example.com.
Escape character is '^]'.
GET / HTTP/1.0

HTTP/1.1 403 Forbidden
Date: Tue, 27 Feb 2007 22:30:22 GMT
Server: Apache/2.0.59 (CentOS)
Accept-Ranges: bytes
Content-Length: 5044
Connection: close
Content-Type: text/html; charset=UTF-8

followed by the default page. In my mind this is very wrong, since  
telnet does no SSL handshaking. If I try this on a working server:

kyle:~ tarus$ telnet amazon.com 443
Trying 72.21.203.1...
Connected to amazon.com.
Escape character is '^]'.
GET / HTTP/1.0
Connection closed by foreign host.

It fails properly.

I'm obviously missing something. Clues?

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Skype: tarusb                               Direct: +1 919 647 4749
Email: tarus at opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C





More information about the TriLUG mailing list