RE: tomcat configuration with apache 1.3.27 ssl

2003-01-21 Thread Helene Figueiredo

Hello,

I've done again my certificate for ssl.
Actually, when I start first tomcat, it's ok. Then I start apache ssl, it's ok.
But when I go to the url :

https://...

It tells me that the file does not exit.
And the message in the error log of apache is :

[Tue Jan 21 13:25:29 2003] [error] [client 152.77.1.237] File does not 
exist: /local/apache/www/webapps/examples/servlet/HelloWorldExample


I know what you can tell me : it's a problem of apache only. For me, I think
that I've forget something in some file of configuration to connect apache 
ssl with
tomcat.

Do you have some idea please ?


You will find below, what I put in my configuration files :

httpsd.conf :

VirtualHost crip-lxagal.ujf-grenoble.fr:443
#SSLDisable
SSLEnable
DirectoryIndex index.php index.php3 index.cgi index.html Welcome.html 
Welcome.phtml
Directory /local/apache/www
Options FollowSymLinks Indexes
AllowOverride none
/Directory

/VirtualHost


Include /local/tomcat/conf/auto/mod_jk.conf


server.xml :

Server port=8005 shutdown=SHUTDOWN debug=0

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
modJk=/local/apache/libexec/mod_jk.so /


!-- Define the top level container in our container hierarchy --
Engine name=Standalone defaultHost=crip-lxagal.ujf-grenoble.fr 
debug=0

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true forwardAll=false
modJk=/local/apache/libexec/mod_jk.so /

workers.properties :

# BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
# change this line to match apache ServerName and Host name in server.xml
worker.ajp13.host=crip-lxagal.ujf-grenoble.fr
worker.ajp13.type=ajp13
# END workers.properties


Many thanks in advance.

Helene Figueiredo




A 11:14 20/01/2003 -0500, vous avez écrit :

That's an Apache error, not a Tomcat error.  If I had to guess, I would say
there's a problem with either 1) your certificate or 2) Apache can't resolve
that hostname into an IP address.  But, it could easily be something else.

John

 -Original Message-
 From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 20, 2003 11:09 AM
 To: Turner, John
 Cc: [EMAIL PROTECTED]
 Subject: RE: tomcat configuration with apache 1.3.27 ssl


 I make the configuration of apache ssl and tomcat with this lines in
 differents configuation files :

 in the httpsd.conf :

 VirtualHost crip-lxagal.ujf-grenoble.fr:443
 #SSLDisable
 SSLEnable
 DirectoryIndex index.php index.php3 index.cgi index.html Welcome.html
 Welcome.phtml
  Directory /local/apache/www
  Options FollowSymLinks Indexes
  AllowOverride none
  /Directory

 /VirtualHost


 Include /local/tomcat/conf/auto/mod_jk.conf

 In the server.xml :

 Server port=8005 shutdown=SHUTDOWN debug=0

 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 modJk=/local/apache/libexec/mod_jk.so /


 !-- Define the top level container in our container hierarchy --
 Engine name=Standalone
 defaultHost=crip-lxagal.ujf-grenoble.fr debug=0

 Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
 append=true forwardAll=false
 modJk=/local/apache/libexec/mod_jk.so /

 And in the workers.properties :

 # BEGIN workers.properties
 worker.list=ajp13
 worker.ajp13.port=8009
 # change this line to match apache ServerName and Host name
 in server.xml
 worker.ajp13.host=crip-lxagal.ujf-grenoble.fr
 worker.ajp13.type=ajp13
 # END workers.properties


 When I start tomcat, it's ok at the url :

 http://crip-lxagal.ujf-grenoble.fr:8080

 But when I try to start apache, I have this message in the
 error.log of apache :

 [Mon Jan 20 16:19:44 2003] [crit] Attempt to reinitialise SSL
 for server
 crip-lxagal.ujf-grenoble.fr


 I don't understand what is wrong.
 Have you some idea ?

 Thanks.

 Helene



 A 10:19 16/01/2003 -0500, vous avez écrit :

 The connectors do not use SSL.  If you are using JK or JK2, the
 communications between Apache and Tomcat are in the clear,
 not via SSL.  The
 flow, as I understand it, is like this:
 
 client - SSL - apache - connector - tomcat
 
 The request is encrypted and decrypted by Apache before (and
 after) the
 connector and Tomcat deal with it.
 
 Does that help?  Do you have any error messages, or other
 messages from
 Apache, JK, or Tomcat logs?
 
 John
 
 
   -Original Message-
   From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, January 16, 2003 10:12 AM
   To: Turner, John
   Cc: [EMAIL PROTECTED]
   Subject: RE: tomcat configuration with apache 1.3.27 ssl
  
  
   We are trying to configure tomcat on :
   operating system : linux redhat 7.3
   JDK : j2sdk1.4.1_01
   OpenSSL : openssl-0.9.6g
   Apache : apache 1.3.27+SSL
   Tomcat : Tomcat 4.1.18
  
   we have generate a certificate with openssl
   we have configure apache with a basic : ./configure, make,
   make install
   we have modified the httpsd.conf to include the certificate ssl
   we have modified the catalina.sh

RE: tomcat configuration with apache 1.3.27 ssl

2003-01-20 Thread Helene Figueiredo
I make the configuration of apache ssl and tomcat with this lines in
differents configuation files :

in the httpsd.conf :

VirtualHost crip-lxagal.ujf-grenoble.fr:443
#SSLDisable
SSLEnable
DirectoryIndex index.php index.php3 index.cgi index.html Welcome.html 
Welcome.phtml
Directory /local/apache/www
Options FollowSymLinks Indexes
AllowOverride none
/Directory

/VirtualHost


Include /local/tomcat/conf/auto/mod_jk.conf

In the server.xml :

Server port=8005 shutdown=SHUTDOWN debug=0

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
modJk=/local/apache/libexec/mod_jk.so /


!-- Define the top level container in our container hierarchy --
Engine name=Standalone defaultHost=crip-lxagal.ujf-grenoble.fr debug=0

Listener className=org.apache.ajp.tomcat4.config.ApacheConfig
append=true forwardAll=false
modJk=/local/apache/libexec/mod_jk.so /

And in the workers.properties :

# BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
# change this line to match apache ServerName and Host name in server.xml
worker.ajp13.host=crip-lxagal.ujf-grenoble.fr
worker.ajp13.type=ajp13
# END workers.properties


When I start tomcat, it's ok at the url :

http://crip-lxagal.ujf-grenoble.fr:8080

But when I try to start apache, I have this message in the
error.log of apache :

[Mon Jan 20 16:19:44 2003] [crit] Attempt to reinitialise SSL for server 
crip-lxagal.ujf-grenoble.fr


I don't understand what is wrong.
Have you some idea ?

Thanks.

Helene



A 10:19 16/01/2003 -0500, vous avez écrit :

The connectors do not use SSL.  If you are using JK or JK2, the
communications between Apache and Tomcat are in the clear, not via SSL.  The
flow, as I understand it, is like this:

client - SSL - apache - connector - tomcat

The request is encrypted and decrypted by Apache before (and after) the
connector and Tomcat deal with it.

Does that help?  Do you have any error messages, or other messages from
Apache, JK, or Tomcat logs?

John


 -Original Message-
 From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 16, 2003 10:12 AM
 To: Turner, John
 Cc: [EMAIL PROTECTED]
 Subject: RE: tomcat configuration with apache 1.3.27 ssl


 We are trying to configure tomcat on :
 operating system : linux redhat 7.3
 JDK : j2sdk1.4.1_01
 OpenSSL : openssl-0.9.6g
 Apache : apache 1.3.27+SSL
 Tomcat : Tomcat 4.1.18

 we have generate a certificate with openssl
 we have configure apache with a basic : ./configure, make,
 make install
 we have modified the httpsd.conf to include the certificate ssl
 we have modified the catalina.sh to include the java home
 when we use the connector no-ssl, tomcat is ok on the url http://
 but when we use the connector ssl, there is no tomcat at the url ...

 Do you have an idea ???

 Many thanks.




 A 08:06 16/01/2003 -0500, vous avez écrit :

 Please be more specific.  What problems are you experiencing?  What
 connector are you using?  What is your configuration,
 operating system, JDK
 version, etc. etc.?
 
 John
 
 
   -Original Message-
   From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, January 16, 2003 6:57 AM
   To: [EMAIL PROTECTED]
   Subject: tomcat configuration with apache 1.3.27 ssl
  
  
   Hi,
  
   Can someone give me an example of tomcat configuration with
   apache 1.3.27 ssl ?
   Our apache ssl configuration is ok.
   Our tomcat configuration without apache ssl is ok.
   But we're not able to integrate both.
  
   Thanks.
  
  
   ___
  
   Helene FIGUEIREDO
   CRIP
   Universite Joseph Fourier - Grenoble 1
   BP 53
   38041 Grenoble cedex 9
   Mail : [EMAIL PROTECTED]
  
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



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




RE: tomcat configuration with apache 1.3.27 ssl

2003-01-17 Thread Dan Finkelstein
I am trying to do the same thing -- getting SSL to work to Tomcat 4.06 from 
Apache 1.3 w/OpenSsl and mod_jk ajp13 1.2.  I think I'm missing the missing 
1-2-3 steps ... or approach.  I have everything working except for the ssl 
communication to Tomcat.

* What changes are needed to httpd.conf?
* What changes to openssl?
* How to configure the connector tag in servlet.xml?

Thanks for any ideas in advance,
Dan

At 04:11 PM 1/16/2003 +0100, you wrote:
We are trying to configure tomcat on :
operating system : linux redhat 7.3
JDK : j2sdk1.4.1_01
OpenSSL : openssl-0.9.6g
Apache : apache 1.3.27+SSL
Tomcat : Tomcat 4.1.18

we have generate a certificate with openssl
we have configure apache with a basic : ./configure, make, make install
we have modified the httpsd.conf to include the certificate ssl
we have modified the catalina.sh to include the java home
when we use the connector no-ssl, tomcat is ok on the url http://
but when we use the connector ssl, there is no tomcat at the url ...

Do you have an idea ???

Many thanks.




A 08:06 16/01/2003 -0500, vous avez écrit :


Please be more specific.  What problems are you experiencing?  What
connector are you using?  What is your configuration, operating system, JDK
version, etc. etc.?

John


 -Original Message-
 From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 16, 2003 6:57 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat configuration with apache 1.3.27 ssl


 Hi,

 Can someone give me an example of tomcat configuration with
 apache 1.3.27 ssl ?
 Our apache ssl configuration is ok.
 Our tomcat configuration without apache ssl is ok.
 But we're not able to integrate both.

 Thanks.


 ___

 Helene FIGUEIREDO
 CRIP
 Universite Joseph Fourier - Grenoble 1
 BP 53
 38041 Grenoble cedex 9
 Mail : [EMAIL PROTECTED]


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


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



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






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




RE: tomcat configuration with apache 1.3.27 ssl

2003-01-16 Thread Turner, John

Please be more specific.  What problems are you experiencing?  What
connector are you using?  What is your configuration, operating system, JDK
version, etc. etc.?

John


 -Original Message-
 From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 16, 2003 6:57 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat configuration with apache 1.3.27 ssl
 
 
 Hi,
 
 Can someone give me an example of tomcat configuration with 
 apache 1.3.27 ssl ?
 Our apache ssl configuration is ok.
 Our tomcat configuration without apache ssl is ok.
 But we're not able to integrate both.
 
 Thanks.
 
 
 ___
 
 Helene FIGUEIREDO
 CRIP
 Universite Joseph Fourier - Grenoble 1
 BP 53
 38041 Grenoble cedex 9
 Mail : [EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 

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




RE: tomcat configuration with apache 1.3.27 ssl

2003-01-16 Thread Helene Figueiredo
We are trying to configure tomcat on :
operating system : linux redhat 7.3
JDK : j2sdk1.4.1_01
OpenSSL : openssl-0.9.6g
Apache : apache 1.3.27+SSL
Tomcat : Tomcat 4.1.18

we have generate a certificate with openssl
we have configure apache with a basic : ./configure, make, make install
we have modified the httpsd.conf to include the certificate ssl
we have modified the catalina.sh to include the java home
when we use the connector no-ssl, tomcat is ok on the url http://
but when we use the connector ssl, there is no tomcat at the url ...

Do you have an idea ???

Many thanks.




A 08:06 16/01/2003 -0500, vous avez écrit :


Please be more specific.  What problems are you experiencing?  What
connector are you using?  What is your configuration, operating system, JDK
version, etc. etc.?

John


 -Original Message-
 From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 16, 2003 6:57 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat configuration with apache 1.3.27 ssl


 Hi,

 Can someone give me an example of tomcat configuration with
 apache 1.3.27 ssl ?
 Our apache ssl configuration is ok.
 Our tomcat configuration without apache ssl is ok.
 But we're not able to integrate both.

 Thanks.


 ___

 Helene FIGUEIREDO
 CRIP
 Universite Joseph Fourier - Grenoble 1
 BP 53
 38041 Grenoble cedex 9
 Mail : [EMAIL PROTECTED]


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


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



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




Re: tomcat configuration with apache 1.3.27 ssl

2003-01-16 Thread Lajos Moczar
Helene -

Are you trying to access Tomcat via Apache SSL or TomcatSSL directly? 
There is a difference. If you are 'hiding' Tomcat behind ApacheSSL, you 
obviously need to use a connector like mod_jk and then define the 
JkMounts in the SSL virtual host in httpd.conf.

If this doesn't help, try posting the relevant sections of httpd.conf. 
Also, tell us which of the above scenarios you are trying to support. 
Finally, I have some Flashguides at www.galatea.com on the subject that 
might help.

Regards,

Lajos


Helene Figueiredo wrote:
We are trying to configure tomcat on :
operating system : linux redhat 7.3
JDK : j2sdk1.4.1_01
OpenSSL : openssl-0.9.6g
Apache : apache 1.3.27+SSL
Tomcat : Tomcat 4.1.18

we have generate a certificate with openssl
we have configure apache with a basic : ./configure, make, make install
we have modified the httpsd.conf to include the certificate ssl
we have modified the catalina.sh to include the java home
when we use the connector no-ssl, tomcat is ok on the url http://
but when we use the connector ssl, there is no tomcat at the url ...

Do you have an idea ???

Many thanks.




A 08:06 16/01/2003 -0500, vous avez écrit :


Please be more specific.  What problems are you experiencing?  What
connector are you using?  What is your configuration, operating 
system, JDK
version, etc. etc.?

John


 -Original Message-
 From: Helene Figueiredo [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 16, 2003 6:57 AM
 To: [EMAIL PROTECTED]
 Subject: tomcat configuration with apache 1.3.27 ssl


 Hi,

 Can someone give me an example of tomcat configuration with
 apache 1.3.27 ssl ?
 Our apache ssl configuration is ok.
 Our tomcat configuration without apache ssl is ok.
 But we're not able to integrate both.

 Thanks.


 ___

 Helene FIGUEIREDO
 CRIP
 Universite Joseph Fourier - Grenoble 1
 BP 53
 38041 Grenoble cedex 9
 Mail : [EMAIL PROTECTED]


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


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



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




--



   Lajos Moczar
  
Open Source Support, Consulting and Training

   _  _
  / \ /
 /___\  /
/ \   /

 http://www.galatea.com -- powered by AzSSL


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