how do I enable ssl for apache

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sun Jan 4 00:12:49 UTC 2004


Am So, den 04.01.2004 schrieb Ron Peters um 00:51:

[ snip ]

> Ok, I've done these steps and was able to get the server restarted without
> errors.  But now, when I go to https://myserver.com, I get this popup
> message:  The connection to myserver.com has terminated unexpectedly. Some
> data may have been transferred.
> 
> I see no errors in any httpd log.  If I telnet to myserver 443, I get this:
> 
> $ telnet myserver 443
> Trying IP_ADDRESS
> Connected to myserver.com.
> Escape character is '^]'.
> get {any file I have}.html

Correct call for the index.html would be:
GET index.html HTTP/1.0

> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>400 Bad Request</title>
> </head><body>
> <h1>Bad Request</h1>
> <p>Your browser sent a request that this server could not understand.<br />
> </p>
> <hr />
> <address>Apache/2.0.47 (Fedora) Server at www.myserver.com Port 443</address>
> </body></html>
> Connection closed by foreign host.
> 
> 
> Any thoughts?  Any logs I can enable or look at?

There are:
/var/log/httpd/ssl_access_log
/var/log/httpd/ssl_error_log
Especially the error log file should contain relating data for
debugging.

Does "apachectl -t" and "apachectl -S" report both OK?

> Thanks again.
> Ron.

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653





More information about the fedora-list mailing list