| The Red Hat Linux Apache Centralized Knowledgebase | ||
|---|---|---|
| Prev | Chapter 7. Problems with Secure Sockets Layer (SSL). | Next |
If you have everything set up and working then the following tests should help:
Telnet to the SSL port (make sure you telnet to the actual IP address that you expect your server to be running on, not 'localhost'), and type anything followed by <CR>. You should immediately get disconnected with no visible response from the server.
In the server's error log you should see something like:
[error] SSL_accept failed
[error] error:140760F8:SSL routines:SSL23GETCLIENT_HELLO:unknown
protocol
|
If you get a response from the server, like:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that
this server could not understand.<P>
Invalid URL in request hello server<P> </BODY></HTML>
Connection closed by foreign host.
> |
Then you're connected to a non-SSL port and this should tell you that the SSL setup is still incorrect.