Can not get SSL Client Certificate

2003-09-03 Thread Elif Akten
Hi,
I have been trying to get SSL client certificate during a client 
authenticated SSL session. I am using Apache 2.0 with Tomcat 4.1.27. 
Everything works succesfully: when I want to open a SSL protected JSP page 
my browser asks for my client certificate and verifies it. But when I try to 
get client certificate using request.getHeader(SSL_CLIENT_CERT) it returns 
null. Also request.getAuthType() and request.getUserPrincipal() return null 
value. Following is the relevant part from our httpd.conf file:

VirtualHost dune.net:443
SSLEngine On
SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
JkExtractSSL On
JkHTTPSIndicator HTTPS
JkSESSIONIndicator SSL_SESSION_ID
JkCIPHERIndicator SSL_CIPHER
JkCERTSIndicator SSL_CLIENT_CERT
/VirtualHost
SSLVerifyClient require
SSLVerifyDepth 2
SSLCACertificateFile C:/Program Files/Apache Group/Apache2/conf/ssl/ca.cer
SSLCACertificatePath C:/Program Files/Apache Group/Apache2/conf/ssl
SSLCACertificateFile C:/Program Files/Apache 
Group/Apache2/conf/ssl/rootca.cer

IfModule !mod_jk.c
LoadModule jk_module C:/Program Files/Apache 
Group/Apache2/modules/mod_jk.dll
/IfModule

JkWorkersFile C:/Program Files/Apache Tomcat 4.0/conf/workers.properties
JkLogFile C:/Program Files/Apache Tomcat 4.0/logs/mod_jk.log
JkLogLevel info
JkMount /examples/* ajp13
Also our ssl.conf file includes the following lines :

SSLOptions +StdEnvVars +ExportCertData
JkOptions +ForwardKeySize +ForwardURICompat +ForwardDirectories
JkMount /demo/* ajp13
JkExtractSSL On
JkEnvVar SSL_CLIENT_CERT UNSET
What should I do to read the client certificate? Any help is welcome...

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


tomcat apache SSL

2003-09-02 Thread Elif Akten
Hi All,

I use apache web server and for jsp files I configureted tomcat.

I try to make SSL connection with client authentication. I configureted 
apache and did nothing with tomcat (should I do??), it works, asks me for 
client certificate and verifys it.

Everything looks fine but when  I try to get client certificate from servlet 
it returns null,

anybody knows ?

Please Help

Elif

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Application_scope

2003-07-21 Thread Elif Akten
Hi,
I am using tomcat4.0 and developing a web application with jsp.
In my application I want to an admin to open a session. If the session is 
not initialized user cant open the page, forward them notinitialized.jsp
I initialize session and put some variables to session in application_scope 
in
webapps/myapplication/admin/init.jsp page 
,(pageContext.setAttibute(variable,pageContext.Application_scope)

user tries to open webapps/myapplication/login.jsp,
although I put all values to session login.jsp returns null.
pageContext.getAttibute(variable,pageContext.Application_scope)
Can anyone help me?

_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


tomcat-WEB-INF

2003-07-16 Thread Elif Akten
I have an webapplication under /webapp/mywebapplication,
I put all classes and lib files under WEB-INF directory classes  and lib 
directory, it works fine, but if I put a new directory under 
mywebapplication folder it gives NoClasssDef error.
what Shoul I do?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: tomcat-WEB-INF

2003-07-16 Thread Elif Akten
no,
I tried put some subfolders under my webapplication, and there was an class 
path error..

Original Message Follows
From: bernd pier [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: tomcat-WEB-INF
Date: Wed, 16 Jul 2003 15:35:54 +0200
MIME-Version: 1.0
Received: from apache.org ([208.185.179.12]) by mc7-f27.law1.hotmail.com 
with Microsoft SMTPSVC(5.0.2195.5600); Wed, 16 Jul 2003 11:05:08 -0700
Received: (qmail 8507 invoked by uid 500); 16 Jul 2003 18:04:41 -
Received: (qmail 94447 invoked from network); 16 Jul 2003 13:36:14 -
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Delivered-To: mailing list [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de-AT; rv:1.5a) 
Gecko/20030701 Thunderbird/0.1a
X-Accept-Language: de-de, de-at, de, en-us, en
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 16 Jul 2003 18:05:09.0083 (UTC) 
FILETIME=[CB2BE2B0:01C34BC4]

don`t really understand what you are doing. did you have a structure like 
this /webapps/mywebapplication/anotherwebapplication ?
that won`t go. it must be /webapps/mywebapplication
/webapps/anotherwebapplication  bernd
Elif Akten schrieb:

I have an webapplication under /webapp/mywebapplication,
I put all classes and lib files under WEB-INF directory classes  and lib 
directory, it works fine, but if I put a new directory under 
mywebapplication folder it gives NoClasssDef error.
what Shoul I do?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

-
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]
_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Activex install problem with tomcat

2003-07-14 Thread Elif Akten
I have a jsp file that installs an object, a cab file..
it works fine with IPlanet web server, but tomcat cant install cab file.
Ýf the cab file is already installed, the page is called before from IPlanet 
,tomcat also shows the object.

Should I do some configuration and tell tomcat something?
Thanks
Original Message Follows
From: Agarwal, Naresh [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Do we have any control on Tomcat threads?
Date: Mon, 14 Jul 2003 05:09:08 -0700
MIME-Version: 1.0
Received: from apache.org ([208.185.179.12]) by mc3-f41.law16.hotmail.com 
with Microsoft SMTPSVC(5.0.2195.5600); Mon, 14 Jul 2003 05:09:27 -0700
Received: (qmail 95680 invoked by uid 500); 14 Jul 2003 12:09:08 -
Received: (qmail 95667 invoked from network); 14 Jul 2003 12:09:08 -
Received: from gw2.informatica.com (HELO PS2KMS02.informatica.com) 
(12.108.189.21)  by daedalus.apache.org with SMTP; 14 Jul 2003 12:09:08 
-
Received: from ps2keh02.informatica.com (unverified) by 
PS2KMS02.informatica.com (Content Technologies SMTPRS 4.3.6) with ESMTP id 
[EMAIL PROTECTED] for 
[EMAIL PROTECTED]; Mon, 14 Jul 2003 05:09:08 -0700
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Post: mailto:[EMAIL PROTECTED]
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Delivered-To: mailing list [EMAIL PROTECTED]
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Message-ID: 
[EMAIL PROTECTED]
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: Do we have any control on Tomcat threads?
Thread-Index: AcNKAUdYbh9WHVaeRB2lXSQmGtJ1rg==
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 14 Jul 2003 12:09:27.0187 (UTC) 
FILETIME=[C5957E30:01C34A00]

Hi

Web apps in tomcat run in threads spawned by Tomcat. Do we have any control 
on these threads?

I want to perform some Init and UnInit operations at the time creation and 
destruction of these threads. Is it possible to do with Tomcat threads?

thanks  regards,
Naresh Agarwal
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail

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


Tomcat and Activex problem

2003-07-14 Thread Elif Akten
I have a jsp file that installs an object, a cab file..
it works fine with IPlanet web server, but tomcat cant install cab file.
Ýf the cab file is already installed, the page is called before from IPlanet 
,tomcat also shows the object.

Should I do some configuration and tell tomcat something?
Thanks
_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


tomcat Error

2003-01-08 Thread Elif Akten

Hi,
anybody knows is error?

The requested method POST is not allowed for the URL /XX.jsp

infact this jsp file is working with IPlanet webServer


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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



JSP help

2003-01-07 Thread Elif Akten
hi,
I wrote to webapps/root/MyApplication/web-inf/web.xml all servlet names
also all servlets to webapps/root/MyApplication/web-inf/classes  but there 
is an
error in log files Like that 2003-01-07 13:22:54 ContextConfig[/examples] 
Configuration error in  application web.xml 
java.lang.IllegalArgumentException: Invalid url-pattern adminPassControl

Can any one help me?

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* 
http://join.msn.com/?page=features/virus


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



JSP Help

2003-01-03 Thread Elif Akten
Hi,
I'am new to Apache and to this group..
I just install apache and tomcat ..there is something wrong with JSP 
files..for example Form's don't post..can anyone have idea?

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


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



RE: JSP Help

2003-01-03 Thread Elif Akten


I installed Apache tomcat 4.0 and copied my webapplication to webapps/Root 
and all jar and classes to WEB-INF directory..and also comman directory
I also copied ApacheModuleJServ.dll to Apache/modules directory..
but Forms don't post and Activex objects doesn't work..
maybe some thing I missed about configuration..Can you help me??





From: Turner, John [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: JSP Help
Date: Fri, 3 Jan 2003 12:43:37 -0500


Could be just about anything.  You will have to be much more specific for
anyone to help you quickly.  Be as specific as possible, explain what you
have, what you hav done, and what the error message is.

John

 -Original Message-
 From: Elif Akten [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 03, 2003 12:42 PM
 To: [EMAIL PROTECTED]
 Subject: JSP Help


 Hi,
 I'am new to Apache and to this group..
 I just install apache and tomcat ..there is something wrong with JSP
 files..for example Form's don't post..can anyone have idea?

 _
 MSN 8 with e-mail virus protection service: 2 months FREE*
 http://join.msn.com/?page=features/virus


 --
 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]


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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