RE: Configure SSL under Tomcat 7

2012-03-20 Thread ayouB __
Hi every body happy new spring ^^ Well, i'm asking you again to tell me please what's the purpose of these files : localhost.crt localhost.key in the last example in this link : http://tomcat.apache.org/tomcat-7.0-doc/apr.html, i wanna just know from where how did they get it (is there

RE: Configure SSL under Tomcat 7

2012-03-20 Thread ayouB __
Hi, I have downloaded OpenSSL under Windows wich required me to install Visual C++ 2008 Redistributable and i did it then i added the C:\OpenSSL-Win32\bin to my environement variable PATH, now the openssl command work very well in the cmd.exe (it give me OpenSSL), so i wanna generate the

Re: Configure SSL under Tomcat 7

2012-03-20 Thread Tapan Thakkar
Hi, Go through this link http://tomcat.apache.org/tomcat-4.1-doc/ssl-howto.html The file that you are asking are certificate and key file used for SSL. To configure tomcat with SSL you need to create this files. On Tue, Mar 20, 2012 at 2:51 PM, ayouB __ ayb-2...@hotmail.fr wrote: Hi every

Re: Configure SSL under Tomcat 7

2012-03-20 Thread Casper Wandahl Schmidt
Den 20-03-2012 10:34, ayouB __ skrev: Hi, I have downloaded OpenSSL under Windows wich required me to install Visual C++ 2008 Redistributable and i did it then i added the C:\OpenSSL-Win32\bin to my environement variable PATH, now the openssl command work very well in the cmd.exe (it give

Re: Configure SSL under Tomcat 7

2012-03-20 Thread André Warnier
Casper Wandahl Schmidt wrote: Den 20-03-2012 10:34, ayouB __ skrev: Hi, I have downloaded OpenSSL under Windows wich required me to install Visual C++ 2008 Redistributable and i did it then i added the C:\OpenSSL-Win32\bin to my environement variable PATH, now the openssl command work

Re: Configure SSL under Tomcat 7

2012-03-20 Thread André Warnier
Casper Wandahl Schmidt wrote: Den 20-03-2012 10:34, ayouB __ skrev: Hi, I have downloaded OpenSSL under Windows wich required me to install Visual C++ 2008 Redistributable and i did it then i added the C:\OpenSSL-Win32\bin to my environement variable PATH, now the openssl command work

RE: Configure SSL under Tomcat 7

2012-03-20 Thread ayouB __
Hi, I follow steps said in this link : http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html, i generated my files : .key and .crt, i puted them in the conf/bin then i modified my server.xml to be able to support these new changes, here it's :

Re: Configure SSL under Tomcat 7

2012-03-20 Thread Casper Wandahl Schmidt
Den 20-03-2012 13:15, ayouB __ skrev: Hi, I follow steps said in this link : http://www.dylanbeattie.net/docs/openssl_iis_ssl_howto.html, i generated my files : .key and .crt, i puted them in the conf/bin then i modified my server.xml to be able to support these new changes, here it's :

RE: Configure SSL under Tomcat 7

2012-03-20 Thread Caldarale, Charles R
From: Tapan Thakkar [mailto:tapan.d.thak...@gmail.com] Subject: Re: Configure SSL under Tomcat 7 Go through this link http://tomcat.apache.org/tomcat-4.1-doc/ssl-howto.html It is irresponsible for anyone to suggest use of Tomcat 4 documentation; even more so in this case when the subject

RE: Configure SSL under Tomcat 7

2012-03-20 Thread ayouB __
Hi, the logs doesn't say any thing, tomcat still working normally, the problem is when i put the link : https://localhost:8443/ProjectTest/ , the browser display : impossible to display this page ..., like the project doesn't even exit in my workspace (the browser doesn't recognize my web

Re: Configure SSL under Tomcat 7

2012-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ayoub, On 3/20/12 8:15 AM, ayouB __ wrote: I'm really disturbed, i've tried every kind of solution !! does any one have any last suggestion pleaase ?! I think it may be time to hire a consultant. - -chris -BEGIN PGP SIGNATURE- Version:

Re: Configure SSL under Tomcat 7

2012-03-20 Thread André Warnier
ayouB __ wrote: Hi, the logs doesn't say any thing, tomcat still working normally, the problem is when i put the link : https://localhost:8443/ProjectTest/ , the browser display : impossible to display this page ..., like the project doesn't even exit in my workspace (the browser doesn't

RE: Configure SSL under Tomcat 7

2012-03-20 Thread ayouB __
Hi every one, Thanks you all for your replies your critics that means i became a VIP member in this mailing list :D i'm jokking ^_^ Well, i turned back to the JSSE, now it works very well and i can access to my ressources using HTTPS. Still the APR one, as it has been said earlier, i puted

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
spent the whole week-end trying and retrying to solve this problem without any result. Thanks. Date: Fri, 16 Mar 2012 15:32:33 -0400 From: ch...@christopherschultz.net To: users@tomcat.apache.org Subject: Re: Configure SSL under Tomcat 7 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 1) Don't top post. 2) Reply only to the list, not to individuals. Now i downloaded the tcnative.jar That won't help; the contents of that jar are already included in the standard Tomcat jars. Remove

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Hi, Sorry it'll be the first and the last time i send a private message to somebody, i didn't know the community's rules ! Well, now i downloaded the file you indicated me which is :

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Mark Thomas
On 19/03/2012 15:30, ayouB __ wrote: Hi, Sorry it'll be the first and the last time i send a private message to somebody, i didn't know the community's rules ! Well, now i downloaded the file you indicated me which is :

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 1) bin/tcnative-1.dll 32-bit version 2) bin/i64/tcnative-1.dll Itanium version 3) bin/x64/tcnative-1.dll x86-64 version Which one should i put in my : apache-tomcat-7.0.26\bin, knowing that i use

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Thanks Mark :) Which one should i put in my : apache-tomcat-7.0.26\bin, knowing that i use windows xp (32 bits) as OS ?! 1) Mark

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Still not working !! I downloaded Apache Tomcat 7.0.26 (again), i added the tcnative-1.dll in my : apache-tomcat-7.0.26\bin, i created a keystore file with this command : keytool -genkeypair -alias tomcat -keyalg RSA -keystore C:\mykeystore i put the file named mykeystore in my :

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
I'm disturbed that i wrote things unlike what i think !! I want say : what things i'm supposed ... instead of what things i'm supported ... They didn't even talked ... instead of They even talked ... Thanks.

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Justin Larose
ayouB __ ayb-2...@hotmail.fr wrote on 03/19/2012 01:00:59 PM: From: ayouB __ ayb-2...@hotmail.fr To: users@tomcat.apache.org Date: 03/19/2012 01:01 PM Subject: RE: Configure SSL under Tomcat 7 Still not working !! I downloaded Apache Tomcat 7.0.26 (again), i added the tcnative-1.dll

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Filip Hanik Mailing Lists
Subject: RE: Configure SSL under Tomcat 7 Still not working !! I downloaded Apache Tomcat 7.0.26 (again), i added the tcnative-1.dll in my : apache-tomcat-7.0.26\bin, i created a keystore file with this command : keytool -genkeypair -alias tomcat -keyalg RSA -keystore C:\mykeystore i put

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
hi filip, Can you explain me more what certificate format is used with APR how can i get it please ! Thanks.

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Luciano Andress Martini
I know that you will think this is strange, but i prefer to use the apache2 as a proxy to the tomcat server creating this lines in a ssl virtualhost: ProxyPass / http://127.0.0.1:8080 ProxyPassReverse / http://127.0.0.1:8080 Yes the data will be encrypted. 2012/3/19, ayouB __

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 Can you explain me more what certificate format is used with APR how can i get it please ! Read the docs: http://tomcat.apache.org/tomcat-7.0-doc/apr.html#APR_Connectors_Configuration - Chuck

RE: Configure SSL under Tomcat 7

2012-03-19 Thread ayouB __
Hi, I'm asking you again, pleaase tell me from where and how they get these files : localhost.crt localhost.key !!! Thanks.

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ayoub, On 3/19/12 1:51 PM, ayouB __ wrote: Can you explain me more what certificate format is used with APR how can i get it please ! APR uses PEM-formatted X.509 certificate format and keys are in separate text blocks. Use OpenSSL to generate

Re: Configure SSL under Tomcat 7

2012-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luciano, On 3/19/12 1:58 PM, Luciano Andress Martini wrote: I know that you will think this is strange, but i prefer to use the apache2 as a proxy to the tomcat server creating this lines in a ssl virtualhost: ProxyPass / http://127.0.0.1:8080

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Filip Hanik Mailing Lists
set SSLEnabled=true in your Connector element, that turns on SSL. After that, if you don't have keystoreFile or keystorePass set, it will throw errors Filip - Original Message - From: ayouB __ ayb-2...@hotmail.fr To: users@tomcat.apache.org Sent: Friday, March 16, 2012 9:58:49 AM

RE: Configure SSL under Tomcat 7

2012-03-16 Thread ayouB __
=localhost_access_log. suffix=.txt pattern=%h %l %u %t quot;%rquot; %s %b / /Host /Engine /Service /Server Date: Fri, 16 Mar 2012 10:41:38 -0600 From: devli...@hanik.com To: users@tomcat.apache.org Subject: Re: Configure SSL under Tomcat 7 set SSLEnabled=true in your Connector element, that turns

RE: Configure SSL under Tomcat 7

2012-03-16 Thread ayouB __
Sorry :D i want say server.xml From: ayb-2...@hotmail.fr To: users@tomcat.apache.org Subject: RE: Configure SSL under Tomcat 7 Date: Fri, 16 Mar 2012 16:50:14 + Here's My service.xml file : ?xml version='1.0' encoding='utf-8'? !-- Licensed to the Apache Software Foundation

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Filip Hanik Mailing Lists
Sent: Friday, March 16, 2012 10:52:13 AM Subject: RE: Configure SSL under Tomcat 7 Sorry :D i want say server.xml From: ayb-2...@hotmail.fr To: users@tomcat.apache.org Subject: RE: Configure SSL under Tomcat 7 Date: Fri, 16 Mar 2012 16:50:14 + Here's My service.xml

RE: Configure SSL under Tomcat 7

2012-03-16 Thread ayouB __
attributes. Thanks :) Date: Fri, 16 Mar 2012 10:57:01 -0600 From: devli...@hanik.com To: users@tomcat.apache.org Subject: Re: Configure SSL under Tomcat 7 ok, check your logs for errors. You must have APR libraries with OpenSSL installed, and you must specify the SSLCertificateFile

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ayoub, On 3/16/12 12:50 PM, ayouB __ wrote: Server port=8005 shutdown=SHUTDOWN [snip] !-- Define a SSL HTTP/1.1 Connector on port 8443 This connector uses the JSSE configuration, when using APR, the connector should be using the OpenSSL

Re: Configure SSL under Tomcat 7

2012-03-16 Thread Pid
On 16/03/2012 15:58, ayouB __ wrote: Hi every one, I'm ayoub and i'm a new member of this mailing list :) Well, i want to configure SSL under Tomcat 7 so i have followed steps said in http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html, but when i deploy my project in tomcat server

RE: Configure SSL under Tomcat 7

2012-03-16 Thread Filip Hanik Mailing Lists
The logs show that you don't have Tcnative installed - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org