Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 53346 invoked from network); 14 Dec 2006 10:00:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 10:00:45 -0000 Received: (qmail 7723 invoked by uid 500); 14 Dec 2006 10:00:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7693 invoked by uid 500); 14 Dec 2006 10:00:30 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 7682 invoked by uid 99); 14 Dec 2006 10:00:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 02:00:30 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of tsirkin@gmail.com designates 209.85.132.245 as permitted sender) Received: from [209.85.132.245] (HELO an-out-0708.google.com) (209.85.132.245) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 02:00:03 -0800 Received: by an-out-0708.google.com with SMTP id c8so161750ana for ; Thu, 14 Dec 2006 01:59:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=supF+0e9UfjlnRU/v3TdR1XKRjDTpTJdqzr8P8Qs8GLDbV+Jj3Nt5awVXxpGBszzTx3dvzVOiHMVDok7Jf6IyifwjOBsA1/Kj+hGc/qC6tE24Nr2QM2+buNsFj815nr12Nsfz9Vvy3fPH4t/crKKyWLWAlzLTmlZ5ScewKy5WDg= Received: by 10.100.166.14 with SMTP id o14mr585285ane.1166090368718; Thu, 14 Dec 2006 01:59:28 -0800 (PST) Received: by 10.100.109.12 with HTTP; Thu, 14 Dec 2006 01:59:28 -0800 (PST) Message-ID: Date: Thu, 14 Dec 2006 11:59:28 +0200 From: "Tsirkin Evgeny" To: "Tomcat Users List" Subject: Re: strange ssl tomcat response In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12915_16063616.1166090368556" References: <003f01c71f21$e0fe6a20$21951e0a@andrewf> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12915_16063616.1166090368556 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I have did yet another try,now on windows machine . The same problem! Here are the steps to reproduce : [1] Do a regular (vanilla) installation of tomcat (Linux and Windows i have already tried) . [2] Setup ssl: Uncomment the ssl setup in server.xml create a key with the following: %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA or $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (taken from tomcat's manual) add the keystorePass and keystoreFile to server.xml start the tomcat and test if the ssl works . [3] Try this in browser: http://localhost:8443 (note the http not the https) or telnet localhost 8443 Note that the telnet should be done from a terminal that can show binary output. (rxvt,xterm will NOT do,for me gnome terminal and cmd on windows worked). in the telnet session you will get a connection type something ,hit ENTER and you will get strange bits in the response. If you are doing this in browser it will just try to download those bits (Mozilla) or show it on the screen (IE). I am pretty sure that this is NOT valid behaviour. I have tried all this on : tomcat 5.5.20 java 1.5.0_09 and same tomcat java 1.5.0_06 Both Linux and Windows . Now I am pretty sure this is a tomcat problem ,not sure which versions. I need somebody except me to reproduce this before asking developers. Anybody? Thanks. P.S. Hassan could you please do this ?Just try it with firefox/ie and other terminal? Evgeny. ------=_Part_12915_16063616.1166090368556--