httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel R. Blair" <joeca...@realcoders.org>
Subject RE: [users@httpd] Problems with SSL All of a Sudden
Date Sat, 24 May 2003 16:21:11 GMT
On Fri, 23 May 2003, Daniel R. Blair wrote:

> On Fri, 23 May 2003, Paul Simon wrote:
>
> > > Paste of Output:
> > >
> > > tcp        0      0 0.0.0.0:443
> > > 0.0.0.0:*               LISTEN
> > >
> > > ---------------------  END PASTE OF OUTPUT OF
> > > RELEVANT LINES -----------
> > >
> > >
> > > I would assume this would indicate that yes, it is
> > > listening.. but.. I'm
> > > not 100% sure if it's not responding online..
> >
> > It's says it's listening. And you can telnet to the
> > server on port 443?
> >
> > I wish I could help more...
>
> I can telnet, but it just sits there, apache doesn't say hello and expect
> a GET request or anything...

Ok, today I tried telnetting to port 443 and typing "GET index.html" to
see what would happen and this is what I got.. does this help anyone
figure out why it will not respond to https://www.juke.biz urls?

Response from: telnet 216.24.170.247 443 (as well as with the IP)

telnet 216.24.170.247 443

Trying 216.24.170.247...
Connected to 216.24.170.247.
Escape character is '^]'.
Connected to 216.24.170.247.
Escape character is '^]'.
GET index.html

HTTP/1.1 400 Bad Request
Date: Sat, 24 May 2003 18:25:43 GMT
Server: Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6b mod_jk/1.2.0
PHP/4.2.
3
Content-Length: 528
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!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
/>
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a
href="https://www.juke.biz/"><b>https://www.juke.biz/</b></
a></blockquote></p>
<hr />
<address>Apache/2.0.43 Server at www.juke.biz Port 443</address>
</body></html>
Connection closed by foreign host.

-----------------   END RESPONSE PASTE  ---------------------

The server Config is below.. would this be a problem at all?  It has
worked in the past, and was working, as previously stated.. it apparently
"just stopped working" which is REALLY weird to me as a Unix
administrator.. things just don't "stop working"  and I am executing
"apachectl startssl" no "apachectl start" so, I know it is starting in SSL
mode.. no errors are spit out on startup either.. and the httpd -t passes
the configuration syntax check with flying colors...

--------------  CONFIGURATION OF VIRTUAL HOST BEGIN PASTE ---------------


<VirtualHost *>
        ServerName www.juke.biz
        ServerAlias juke.biz
        ServerAdmin binz@juke.biz
        DocumentRoot /var/webapps/jukebiz
        ErrorLog logs/jukebiz-error_log
        CustomLog logs/jukebiz-access_log common
        JkMount /*.jsp ajp13
        JkMount /servlet/* ajp13
        <Directory /var/webapps/jukebiz/>
                Allow from all
                AllowOverride All
                Order allow,deny
        </Directory>
        # SetEnv SITE_ROOT /usr/java/jakarta-tomcat-4.1.12/webapps/jukebiz
        # SetEnv SITE_HTMLROOT
/usr/java/jakarta-tomcat-4.1.12/webapps/jukebiz
</VirtualHost>

<VirtualHost 216.24.170.247:443>
        ServerName www.juke.biz:443
        DocumentRoot /var/webapps/jukebiz
        ErrorLog logs/jukebiz-error_log
        CustomLog logs/jukebiz-access_log common
        JkMount /*.jsp ajp13
        JkMount /servlet/* ajp13
        <Directory /var/webapps/jukebiz/>
                Allow from all
                AllowOverride All
                Order allow,deny
        </Directory>
        SSLEngine on
        SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EX$
        SSLCertificateFile    /usr/local/apache2/conf/ssl.crt/jukebiz.cert
        SSLCertificateKeyFile /usr/local/apache2/conf/ssl.key/jukebiz.key
        CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \$
</VirtualHost>

--------------  CONFIGURATION OF VIRTUAL HOST END PASTE ---------------


Can anyone find anything wrong?  This is becoming a real problem as users
are starting to call and complain, and I cannot figure this out for the
life of me.. so I can't even given an estimated ETA for fixing it.. or a
reason...

-------------------------------------------------------------------------
Just For reference, uname -a reports:

Linux rocola.com 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386
GNU/Linux

I don't know if that helps at all...
--------------------------------------------------------------------------


Thanks guys, your help is MORE than GREATLY appreciated.

Dany

                           = Daniel Blair =
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- dblair@realcoders.org -                   [http://www.realcoders.org]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                  -/-  s e g m e n t : o f f s e t -/-

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message