Did you go through the JK2 setup guide found in the Tomcat docs?

When you say "when I go to a JSP page", are you going through Apache for it?
Sorry if this sounds like a dumb question, but does it have the :8080 in
your URL or are you going through Apache's port 443 (by using https, rather
than http)?  (I'm asking because web dev IDEs sometimes like to think for
you and put URLs in that they shouldn't :) )

If apache is picking up the request and internally forwarding it to Tomcat
as the JK/JK2 (and the like) are designed to handle, it should not be
"de-SSLing" the connection unless your URL is losing the "s" in "https" or
similar...

-----Original Message-----
From: Bradberry, Rick [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 18, 2003 9:27 AM
To: 'Tomcat Users List'
Subject: RE: SSL and tomcat behind apache


Thanks for the response,

I added scheme and secure to the Connector with the same results. not sure
what you mean by mounting the connector in httpd.conf or ssl.conf.

here is my connector definition in tomcat/conf/server.xml <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"
               scheme="https" secure="true"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

in apache2/conf/httpd.conf
I have:
LoadModule jk2_module modules/mod_jk2.so

SSL works within apache.

What about the workers.properties or the jk2.properties? any changes needed
here?

Rick


-----Original Message-----
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 9:09 AM
To: Tomcat Users List
Subject: RE: SSL and tomcat behind apache


In your httpd.conf or ssl.conf in the virtual hosts, this should be where
the connectors are mounted.

Also, in the server.xml make sure that your using the
"org.apache.coyote.tomcat4.CoyoteConnector" on port 8443, scheme="https" and
secure="true"

-----Original Message-----
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:56
To: 'Tomcat Users List'
Subject: RE: SSL and tomcat behind apache



the setup is
Apache 2
tomcat 4.1.27
mod_jk2 connectors 4.1.27

Rick

-----Original Message-----
From: Stuart Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, August 18, 2003 8:51 AM
To: Tomcat Users List
Subject: RE: SSL and tomcat behind apache


Which connector are you using to link tomcat to apache?

-----Original Message-----
From: Bradberry, Rick [mailto:[EMAIL PROTECTED]
Sent: 18 August 2003 13:47
To: 'Tomcat Users List'
Subject: SSL and tomcat behind apache


Hi all,

Question about running SSL through apache and using tomcat
for jsp. In the tomcat documentation it says that tomcat only needs to be
configured if it is running stand alone. I'm using apache 2 with openssl for
the front end.

Here's my problem:

when I go to the https server (apache) the lock icon turns on in IE, but as
soon as I hit a jsp page the lock icon turns off. With Mozilla it shows a

lock with a red line through it.

Did I miss something in the setup documentation?

Rick



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to