Check up some old write-ups on: 
http://www.ccl.net/cca/software/UNIX/apache/index.shtml

But I am afraid you are out of luck. If you create a virtual host
for port 443 in Apache's httpd.conf and put the connector statements there
(check the URLS above), Apache will be doing SSL and Apache
will be processing the certificates. Since tomcat will only talk via
connector to Apache, it will not process the certificates, and Tomcat can
only can check the header of the request to see if it was HTTPS (and that
it was negotiated by Apache). If you are doing basic authentication than
tomcat will also be able to find the user id. 
If you find a solution for doing a right thing with:

HTTPS-->Apache-->connector-->Tomcat

tell us... Good luck.
Jan


On Thu, 20 Dec 2001, Richard S. Huntrods wrote:

> Greetings!
> 
> Well, the more you learn, the more you know how little you know! <G>
> 
> Current status:  I have two servers, one with Apache only and one with
> Tomcat only.  This is for historic reasons of server load, but serves me
> very well.
> 
> The Apache server listens only to port 80.  All works well.  For
> example, "http://xx.xx.xx.xx/"; calls up the appropriate index.html page.
> 
> The Tomcat server now only listens to port 443 - and responds with SSL
> enabled servlets.  This also works well.  For example:
> "https://yy.yy.yy.yy/"; calls up a secure index.html file, which starts
> the servlets rolling.
> 
> NOW, heres the problem. A router directs port 80 to the Apache server
> and port 443 to the Tomcat server.  There is a domain name pointing to
> the address of the router.  If you type "http://domain.com/";, the Apache
> server properly serves the web page.  HOWEVER - if you type
> "https://domain.com/";, you get the infamous "page cannot be displayed"
> message.
> 
> How does one direct "https" inquiries to port 443?  I thought this would
> work.  Who or what interprets "https" as a request on port 443?  Must I
> configure the port 80 Apache machine to "hear" requests on port 443 and
> then relay them to the Tomcat box - and if so, how?  (which Apache
> config file)
> 
> Thanks very much in advance,
> 
> -Richard
> 
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: [EMAIL PROTECTED] 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to