Here is a filter that I am using to get the client certificates, the issue
I'm having is passing them along via the headers so they can be picked up
as CGI Environment Variables down the road. This does get me the
certificate information though. Just ignor the mutableRequest stuff as
that is what
<
ch...@christopherschultz.net> wrote:
> Timothy,
>
> On 6/22/23 14:01, Timothy Ward wrote:
> > I am trying to go the route of modifying the CGIServlet from: h
> > ttps://
> github.com/apache/tomcat/blob/main/java/org/apache/catalina/servlets/CGIServlet.java#L771
> >
; Timothy,
>
> On 6/21/23 16:56, Timothy Ward wrote:
> > import javax.servlet.http.HttpServletRequest;
> > import javax.security.cert.Certificate;
> > import javax.security.cert.X509Certificate;
> >
> > public class GrabCert extends Object
> &
or] (1: 0): location: class GrabCert
[Error] (1: 0): 1 error
On Wed, Jun 21, 2023 at 2:32 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Timothy,
>
> On 6/21/23 13:55, Timothy Ward wrote:
> > Not sure it's lined up right, lost in copy/paste I think, the
I'm attempting to run this from within Oracle 19c, so I believe that is
throwing a whole other wrinkle in there.
On Wed, Jun 21, 2023 at 1:48 PM Mark Thomas wrote:
>
>
> On 21/06/2023 18:29, Timothy Ward wrote:
> > I tried the following:
> >
> > import javax
n 21, 2023 at 1:52 PM Rob Sargent wrote:
>
>
> > On Jun 21, 2023, at 11:29 AM, Timothy Ward
> wrote:
> >
> > I tried the following:
> >
> > import javax.servlet.http.HttpServletRequest;
> > import javax.security.cert.Certificate;
> > import ja
Thomas wrote:
> On 12/06/2023 12:00, Timothy Ward wrote:
> > Changing the CGI Servlet may be the easiest route, but if I wanted to use
> > it as intended, I'm guessing I would use the original Java code that you
> > sent below?
> >
> > X509Certificat
/apache/tomcat/blob/main/java/org/apache/catalina/servlets/CGIServlet.java#L771
>
> You should be able to copy the source of Tomcat's CGI servlet, modify as
> required and then just deploy it as part of the web application the same
> way you would any other servlet.
>
> Mark
>
would need to extend it and add the
> certificate information as an additional environment variable (or
> variables).
>
> Do you need to use CGI? It is fairly unusual to see CGI mention on this
> list these days.
>
> Mark
>
>
> On 11/06/2023 22:56, Timothy Ward wrote:
>
quest().getAttribute("jakarta.servlet.request.X509Certificate");
>
>
> https://jakarta.ee/specifications/servlet/5.0/apidocs/jakarta/servlet/servletrequest#getAttribute(java.lang.String)
>
> On Sun, Jun 11, 2023 at 11:20 PM Timothy Ward
> wrote:
> >
> > Tomcat 10
Tomcat 10.1 setup using certificateVerification="required" on Windows
Server 2019, is there a way to get the SSL_CLIENT_S_DN and SSL_CLIENT_I_DN
via a CGI perl script? I think I have the SSLValve valve implemented, but
there is nothing for sure that tells me that it is.
The browser prompts for th
which doesn't give me a trace... just the error event. But I'm sure you
caught that from my first post..
Filip Hanik - Dev Lists wrote:
don't clip the stack trace please, do you have the full one?
On 08/14/2009 03:24 PM, Jason Ward wrote:
Hello,
I'm seeing IOExceptions when
Hello,
I'm seeing IOExceptions when writing/flushing my Comet servlet
OutputStream. The fist exception is difficult to pinpoint, but it seems
it raises and ERROR event which ultimately enacts a event.close(). This
in turn results in the following stack trace for subsequent operations:
java.l
okey
Thanks a lot mate, should have asked this a lot earlier, would have
saved me a lot of frustrations!
Ward
2009/3/27 Caldarale, Charles R :
>> From: Ward [mailto:wardloot...@gmail.com]
>> Subject: Re: Deployment: do not delete specified folder
>>
>> Read the desired
2009/3/26 Caldarale, Charles R :
>> From: Ward [mailto:wardloot...@gmail.com]
>> Subject: Re: Deployment: do not delete specified folder
>>
>> Can you please tell/hint me how do I access file on
>> server, not in webserver directory
>
> Static resources are n
2009/3/26 Caldarale, Charles R :
>> From: Ward [mailto:wardloot...@gmail.com]
>> Subject: Re: Deployment: do not delete specified folder
>>
>> So supposed there is a file in the /media directory, let's
>> say file.jpg There is no way to acces this file trough a
an acces the target directory directly in my
Java code, that's no problem, but what I wanna do is something different?
Greetings
Ward
Caldarale, Charles R schreef:
From: Ward [mailto:wardloot...@gmail.com]
Subject: Deployment: do not delete specified folder
to be able to acces the
rprise v 10
Thanks in advance for helping me out!
Grtz
Ward
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
="/path/to/mod_jk.so" />
--
__
__ ___ Patrick Ward
/_/| //\ /_/| Jet Propulsion Lab
|| | | |__ \| || | Pasadena, CA
___|| | |
-David
Patrick Ward wrote:
Currently we have Apache configured to do user authentication and Tomcat
to run the java application. At this point, Apache is asking for
authentication but the information is not being passed on to Tomcat.
We are using the following versions:
Server version: Apache/2.2.
version 6.0.10
Thank you!
--
__
__ ___ Patrick Ward
/_/| //\ /_/| Jet Propulsion Lab
|| | | |__ \| || | Pasadena, CA
___|| | | |__)/| || |___ M/S 2923-120
I will be out of the office starting 05/24/2007 and will not return
until 05/29/2007.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
I will be out of the office starting 05/24/2007 and will not return
until 05/29/2007.
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
On 03 October 2006, Dan Adams said:
> Hmm, I don't think that is the culprit. I think all of our stuff is
> thread safe. We're using a framework (Tapestry) which shields us from
> threading issues like that and prevents us from storing request stuff in
> the session. Also, if that were the case wou
Hi -- we've recently had problems with Tomcat on one server getting
overloaded and then refusing further requests. What happens is that
more and more request-processing threads get stuck on some slow
operation (eg. database query, opening a socket to another server),
until eventually Tomcat's thre
On 04 May 2006, Ken Dombeck said:
> We have 2 applications installed inside the same Tomcat 5.0 instance
> app1 and app2. URL app1.url.com is for app1 and app2.url.com is for
> app2. Both URLs have the same ip address but still hit port 80. The
> maxThreads for the connector is set to 100.
>
> T
gt;
> if you want to be able to reload it, I suggest that you load
> it using a
> FileInputstream, and not getResourceAsStream from the class
> loader. if you load it through the class loader, the class
> loader doesn't reload
> it until restart.
>
> Filip
>
>
Hi all,
I've build a little util class for sucking in properties. When I use it
from "command line" progs it seems to work okay, but when I call it from
a servlet it never seems to load an *updated* version of the
.properties file.
I am using a HashMap to cache the Properties and associated ti
On 02 May 2006, Tim Funk said:
> An "easier solution" is to throttle the webapp via a filter. For example:
Good idea, thanks! I'll try to implement that and report back to the
list.
Greg
-
To unsubscribe, e-mail: [EMAIL
On 02 May 2006, Mike Scherer said:
> How and where do I specify the JAVA_HOME or the JRE_HOME Environment
> variables?
What OS are you using? With most Unix-like systems, you just do
something like
export JAVA_HOME=...
before running the Tomcat launch script. E.g. if you start Tomcat from
an
We've been using Tomcat 4.1.30 happily for a couple of years now, but
every so often one badly-behaved webapp can make life unhappy for
everyone living in the container. (Our Tomcat deployment is part of a
suite of applications that run on a small cluster of Linux servers; all
of the webapps runni
> admin.log
--
__
__ ___ Patrick Ward
/_/| //\ /_/| Jet Propulsion Lab
|| | | |__ \| || | Pasadena, CA
___|| | | |__)/| || |___ M/S 2923-
nding it's public key
certificate.
--David
Patrick S Ward wrote:
I have a Tomcat 5.5.9 web application server running on a webserver
listening on port 8443.
Why is it that when I access http://:8443, I am
prompted to download a file of the format application/octet-stream
from any b
I have a Tomcat 5.5.9 web application server running on a webserver
listening on port 8443.
Why is it that when I access http://:8443, I am
prompted to download a file of the format application/octet-stream
from any browser from any platform?
If I access https://:8443, I see the tomcat home pag
34 matches
Mail list logo