Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 19813 invoked from network); 4 Aug 2010 17:38:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Aug 2010 17:38:30 -0000 Received: (qmail 64541 invoked by uid 500); 4 Aug 2010 17:38:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 64463 invoked by uid 500); 4 Aug 2010 17:38:25 -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 64454 invoked by uid 99); 4 Aug 2010 17:38:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 17:38:25 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rainer.jung@kippdata.de designates 195.227.30.149 as permitted sender) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Aug 2010 17:38:19 +0000 Received: from [192.168.2.102] ([192.168.2.102]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id o74HbrWd025237 for ; Wed, 4 Aug 2010 19:37:56 +0200 (CEST) Message-ID: <4C59A570.50507@kippdata.de> Date: Wed, 04 Aug 2010 19:37:52 +0200 From: Rainer Jung User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat 6.0.18/ IIS 6.0 /SSL References: <6DFA58BAF200E54593A1538FC86E89CF01D1BF7E@naeachrlez02v.nadsusea.nads.navy.mil> In-Reply-To: <6DFA58BAF200E54593A1538FC86E89CF01D1BF7E@naeachrlez02v.nadsusea.nads.navy.mil> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit On 04.08.2010 18:07, Hansel, Jason T CTR SPAWARSYSCEN-ATLANTIC, 55E00 wrote: > > > I am trying to get Tomcat and IIS configured on my secure web server > (SSL) so that I can access my deployed web application via https and NOT > over http. Connection to non-SSL works, but I cannot have that > connection due to security. > > I want to run Tomcat through IIS, and I have configured it using the > isapi_redirect.dll (thanks to Electronjockey). However, when I try and > hit my https://site/geoportal my credentials do > not carry me through to the web application, instead I receive "Internet > Explorer Cannot Display Webpage". Can someone help me out on how to > configure my server.xml and interpretting my log files please? I have > even tried to export my server certificate, and call it using the > keystore:"", still not working. I'm a Tomcat green horn, any help would > be awesome. > > Isapi_redirect.log file: Looks like some sort of authentication is being > passed, then the ajp13 is not found? > > [Wed Aug 04 11:51:15.901 2010] [10712:8360] [debug] jk_isapi_plugin.c > (3108): Service protocol=HTTP/1.1 method=GET host=150.125.174.70 > addr=150.125.174.70 name=mywebsite port=443 auth=SSL/PCT > user=EIMS\john.doe uri=/jakarta/isapi_redirect.dll > > [Wed Aug 04 11:51:15.916 2010] [10712:8360] [debug] jk_isapi_plugin.c > (3120): Service request headers=5 attributes=9 chunked=no > content-length=0 available=0 > > [Wed Aug 04 11:51:15.932 2010] [10712:8360] [debug] jk_worker.c (116): > did not find a worker ajp13 > [Wed Aug 04 11:51:15.948 2010] [10712:8360] [debug] jk_isapi_plugin.c > (2162): could not get a worker for name ajp13 > [Wed Aug 04 11:51:15.979 2010] [10712:8360] [error] jk_isapi_plugin.c > (2210): could not get a worker for name ajp13 Hard to tell without knowing the version of the isapi redirector, not having your configuration. This looks like: - it is trying to use a worker named ajp13 to connect to Tomcat. Lile y you have configured the redirector to use this worker within your uriworkermap.properties file - the redirector doesn't know how to use this worker. Either you are missing the workers.properties configuration file or there is no definition for a worker named ajp13 in the file. A good starting point for a workers.properties file is the example file contained in the source distribution of version 1.2.30. Please do also use this version of the redirector. Note: from the point of view of Tomcat it doesn't really matter whether you are talking http or https in the browser. This protocol is only used between the browser and IIS. Between IIS and Tomcat when using the isapi redirector the protocol is always AJP13 (it is just coincidence, that this is the same name as the name of the worker in your logs). The protocol is similar to HTTP but binary and it transports the information whether the browser used http or https, so Tomcat is aware of this. This protocol does not use the http or https connectors in server.xml, only the AJP13 connector. > Here is the meat of my server.xml (pretty sure it's wrong): > > > connectionTimeout="20000" > redirectPort="80" /> > > > port="8009" protocol="HTTP/1.1" > connectionTimeout="20000" > redirectPort="443" /> > > > > maxThreads="150" scheme="https" secure="true" > clientAuth="false" sslProtocol="TLSv1" > keystoreFile="C:\Program Files (x86)\Apache Software Foundation\Tomcat > 6.0\conf\cert.pfx" > keystorePass="mypassword" > keystoreType="pkcs12" /> > > > Two connectors, both on port 8009, will not work. Use the latter one. Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org