RE: Tomcat SSL mutual authentication: Nobody's got a clue?

2003-03-26 Thread dave . prout
Joe, I've also been trying to do this for ages. I assume you import the client certificate into the server trustore. How does the server know where to look for this truststore ? Thanks Dave -Original Message- From: joe [mailto:[EMAIL PROTECTED] Sent: 26 March 2003 08:4

Tomcat can't do client certificate authentication

2003-03-17 Thread dave . prout
I've been trying to do this for the last two weeks. There is no documentation on it (the SSLHowto only describes HTTPS). So I have to conclude that Tomcat can't do client certs, so we can't use it. Is this correct ? Dave -Original Message- From: [EMAIL PROTECTED] Sent: Fri 07/03/2003 2

RE: Tomcat SSL question (Emergency)

2003-03-11 Thread dave . prout
Kevin, You might like to help Tomcat out by telling it the password. Try modifying the factory bit in server.xml to add the path to the keystore, and the password, something like this Dave -Original Message- From: Kevin Hu [mailto:[EMAIL PROTECTED] Sent: 11 March 2003 08:1

RE: Can Tomcat do client certificate authentication ?

2003-03-08 Thread dave . prout
We can't use digest authentication, as we have to store our passwords encrypted. -Original Message- From: Tarun Ramakrishna Elankath [mailto:[EMAIL PROTECTED] Sent: Sat 08/03/2003 14:19 To: [EMAIL PROTECTED] Cc: Subject: RE: Can Tomcat do client certificate authentication ? How abo

RE: Client Authentication

2003-03-08 Thread dave . prout
Have you got it working across more than one box, or is client and server on the same machine ? -Original Message- From: Mario Ivkovic [mailto:[EMAIL PROTECTED] Sent: Sat 08/03/2003 12:08 To: 'Tomcat Users List' Cc: Subject: AW: Client Authentication I just uncomment this in s

RE: Client Authentication

2003-03-08 Thread dave . prout
How do you configure Tomcat to do client authentication at all ? How do use specify the truststore on the Tomcat server ? -Original Message- From: Mario Ivkovic [mailto:[EMAIL PROTECTED] Sent: Sat 08/03/2003 11:21 To: [EMAIL PROTECTED] Cc: Subject: Client Authentication Hi, how c

RE: Can Tomcat do client certificate authentication ?

2003-03-08 Thread dave . prout
I'm using Tomcat 4.1.18 standalone. We need client certificates to work across all our platforms. With Microsoft its easy, with Tomcat we just can't seem to do it. We've looked at many different methods of security. Basic Authentication is OK if we use it with HTTPS, but doesn't seem to be very i

Can Tomcat do client certificate authentication ?

2003-03-07 Thread dave . prout
Within our company we've decided to use client certificates for security. I've spent all week trying to get this working on Tomcat. If the client and server are on the same machine it's easy. But how do I do it if the client is on a different machine ? I can get SSL working on HTTPS no problem, but

How do I Authenticate Client Certificates ?

2003-03-07 Thread dave . prout
I can do this easily if the client is on the same box as the tomcat server, but I can't get it to work if the client is on a different box to the server. Dave UK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: Urgent Re: Newbie: Servlet under Windows does not run

2002-03-18 Thread dave . prout
Have you got an entry for you servlet in the web.xml file in the WEB-INF folder ? Dave -Original Message- From: Chris Pheby [mailto:[EMAIL PROTECTED]] Sent: 18 March 2002 15:07 To: Tomcat Users List Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run Do you have a web

RE: Tomcat and firewalls...

2001-10-24 Thread dave . prout
Dave, Maybe I've got my ZoneAlarm seetings wrong. I use the basic version (not Pro), on my home pc, and run Tomcat/Java/MySql on that pc. My application doesn't seem to work when I have ZoneAlarm on. I'd like it to, as I hate leaving my home server wide open when I go to work. Dave -

RE: Servlet mapping with /

2001-10-24 Thread dave . prout
Dr Evil, This is how I do it, a little perverse, but it works. In the root, have something like this in the web.xml Default Page /mid.jsp Default Page Thus ensuring that mid.jsp is called. mid.jsp just

RE: Tomcat and firewalls...

2001-10-23 Thread dave . prout
I use ZoneAlarm and I've found that I have to turn it off in order to use Tomcat Dave -Original Message- From: Thomas Diamond [mailto:[EMAIL PROTECTED]] Sent: 23 October 2001 01:47 To: [EMAIL PROTECTED] Subject: Tomcat and firewalls... I think that something's wrong with Tomcat and f

RE: Opinions on detecting browser type for WML vs. HTML

2001-10-23 Thread dave . prout
Dr. Evil, If the phone uses the Openwave Gateway, I use subscriber-id, which isn't the phone number, but is unique to the phone (or rather the SIM, as if you move your SIM to another phone you get the same subscriber_id). Its sent in the http header. Details of Wap Push will be o

RE: Opinions on detecting browser type for WML vs. HTML

2001-10-23 Thread dave . prout
What do you mean by "The 'user-agent' header always contains the string "UP. Browser" I bet you 100 pounds that it doesn't. A Nokia phone on a Nokia or CMG Gateway will not have "UP" anywhere. Dave -Original Message- From: simon [mailto:[EMAIL PROTECTED]] Sent: 23 October 2001 10:37

RE: Opinions on detecting browser type for WML vs. HTML

2001-10-23 Thread dave . prout
Dr. Evil, I use exactly the method you suggest. I have a servlet that checks the first four characters of the user-agent. If it is 'Mozi', I call a JSP to deal with an HTML request. If not then I assume WML and have different JSPs for 'MOT-', 'SIE-', 'R380', 'Noki', etc. Dave -

RE: Handling apostrophes

2001-10-22 Thread dave . prout
Thanks Michael Dave -Original Message- From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] Sent: 22 October 2001 10:51 To: '[EMAIL PROTECTED]' Subject: RE: Handling apostrophes call the following method like this String_Util.replace(value,"'","''"); public static String replac

RE: Handling apostrophes

2001-10-22 Thread dave . prout
Sounds like a bigger overhead than encode Dave -Original Message- From: David Treves [mailto:[EMAIL PROTECTED]] Sent: 22 October 2001 10:09 To: tomcat-user Subject: Re: Handling apostrophes Hi there, you should simply duplicate in every input string the apostrophe. Meaning that if

RE: Handling apostrophes

2001-10-22 Thread dave . prout
So what would the input statement look like ? Dave -Original Message- From: Deacon Marcus [mailto:[EMAIL PROTECTED]] Sent: 22 October 2001 10:23 To: tomcat-user Subject: RE: Handling apostrophes Hi, Try using prepared statements. They allow parameters, so basically you define a quer

Handling apostrophes

2001-10-22 Thread dave . prout
Hi all, I'm developing an application which uses java servlets and JSPs and a MySQL database running on Tomcat 4.0. I take user input, store it on the db, then display it again. As soon as someone tried inputiing an apostrophe, it all fell over. It seems that I have to encode and

I'm using Tomcat, do I also need Apache

2001-10-19 Thread dave . prout
Hi all, I'm using Tomcat 4.0 for my WebSite. Is there any point in also using Apache ? A lot of people seem to use both, but why ? Dave

RE: 'Object Moved - 302' returned from https connection from a se rvle t

2001-05-25 Thread dave . prout
How do I get that parameter ? > -Original Message- > From: Arnaud Dostes - NTI [SMTP:[EMAIL PROTECTED]] > Sent: 25 May 2001 13:19 > To: tomcat-user > Subject: Re: 'Object Moved - 302' returned from https connection from > a servle t > > response.sendRedirect returns a 302 HTTP cod

'Object Moved - 302' returned from https connection from a servle t

2001-05-25 Thread dave . prout
Hi, I'm trying to do a remote log on. I've tried a couple of sites, including www.bt.com. I do the Https connect using a POST. The problem is that I get back conn.getResponseMessage() = "Object moved" and conn.getResponseCode() = 302. Does anyone know if there is any way to get round thi

JSP Naming Standards ?

2001-05-23 Thread dave . prout
> Are there recognised naming standards for JSP's ? If I have a customer > login > page for Company ABC should I call it. > > ABC_Customer_Login > > or > > abc_cutomer_login > > or > > abccustomerlogin > > or > > abcCustomerLogin > > or what ? > > Please could you give me a reference to

JSP Naming Standards ?

2001-05-21 Thread dave . prout
Are there recognised naming standards for JSP's ? If I have a customer login page for Company ABC should I call it. ABC_Customer_Login or abc_cutomer_login or abccustomerlogin or abcCustomerLogin or what ? Please could you give me a reference to the standard, as I only want to change eve

How do I do an SSL handshake from a Java Servlet ?

2001-05-18 Thread dave . prout
I've got to write a java servlet to Login to a website which uses SSL. When you look at the web page that does the log on, the form uses a post. I create the url url = (URL) new URL("https://www.nxtrains.co.uk/NASApp/Neg/RoutingControl";); then set up a connection HttpsURLConnection conn =

RE: Tomcat start error

2001-05-11 Thread dave . prout
Try putting C:\jdk13\lib\tools.jar in your Classpath > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: 11 May 2001 16:03 > To: [EMAIL PROTECTED] > Subject: Tomcat start error > > I installed the tomcat 3.2.1 with jdk 1.3 in Win98. The enviroment setup

RE: Trying to use https: in Tomcat

2001-05-11 Thread dave . prout
Tom, How do I do the handshake ? David > -Original Message- > From: Thomas Bezdicek [SMTP:[EMAIL PROTECTED]] > Sent: 10 May 2001 17:19 > To: tomcat-user > Subject: AW: Trying to use https: in Tomcat > > ae, https means you need a handshake to get the connection > enc

RE: Trying to use https: in Tomcat

2001-05-11 Thread dave . prout
Pae, OK. Any suggestions for reading ? David > -Original Message- > From: Pae Choi [SMTP:[EMAIL PROTECTED]] > Sent: 10 May 2001 17:43 > To: tomcat-user > Subject: Re: Trying to use https: in Tomcat > > Dave, > > I suggest you to invest some of your efforts by either res

RE: Trying to use https: in Tomcat

2001-05-10 Thread dave . prout
My next problem is when I try to connect. HttpsURLConnection conn = (HttpsURLConnection) url.openConnection(); String postData = "x"; conn.setRequestMethod("POST"); conn.setDoOutput(true); conn.setRequestProperty("Content-Length", ""+postData

RE: Trying to use https: in Tomcat

2001-05-10 Thread dave . prout
I get a NoClassDefFoundError on the statement below. Do I have to make any run-time changes, i.e. add some JSSE jars to my Class Path or Tomcat ? > -Original Message- > From: Pae Choi [SMTP:[EMAIL PROTECTED]] > Sent: 10 May 2001 15:29 > To: tomcat-user > Subject: Re: Trying to use

RE: Trying to use https: in Tomcat

2001-05-10 Thread dave . prout
This made no difference at all ! > -Original Message- > From: Pae Choi [SMTP:[EMAIL PROTECTED]] > Sent: 10 May 2001 14:58 > To: tomcat-user > Subject: Re: Trying to use https: in Tomcat > > Place the following line before the "URL" line as: > > java.lang.System.setProperty("java.

Trying to use https: in Tomcat

2001-05-10 Thread dave . prout
I'm trying to connect to an url using url = (URL) new URL("https://xx";); In Tomcat I get the error message "unknown protocal: https" Does anyone know how I get around this ?

RE: installing tomcat 3.2 on windows 98

2001-05-04 Thread dave . prout
Yellina, I don't think there is any documentation other than that which comes with Tomcat. David > -Original Message- > From: Hari Yellina [SMTP:[EMAIL PROTECTED]] > Sent: 04 May 2001 14:29 > To: tomcat-user > Subject: Re: installing tomcat 3.2 on windows 98 > > Hi Dave,

RE: Tomcat on 98

2001-05-04 Thread dave . prout
Yes > -Original Message- > From: Hari Yellina [SMTP:[EMAIL PROTECTED]] > Sent: 04 May 2001 14:21 > To: tomcat-user > Subject: Tomcat on 98 > > Did any one worked on 98 using Tomcat. If yes please mail me.

RE: installing tomcat 3.2 on windows 98

2001-05-04 Thread dave . prout
Oh Yes You Can ! > -Original Message- > From: Hari Yellina [SMTP:[EMAIL PROTECTED]] > Sent: 04 May 2001 13:46 > To: tomcat-user > Subject: Re: installing tomcat 3.2 on windows 98 > > u cannot, try on NT > - Original Message - > From: Peter Choe <[EMAIL PROTECTED]> > To: <

RE: installing tomcat 3.2 on windows 98

2001-05-04 Thread dave . prout
I run tomcat on my Windows 98 pc at home. In autoexec.bat I also have JAVA_HOME=C:\Java and the Classpath should also contain tools.jar from Java (lib or bin). David > -Original Message- > From: Peter Choe [SMTP:[EMAIL PROTECTED]] > Sent: 04 May 2001 13:20 > To: [EMAIL PROTECTED] >

RE: Tomcat and Access Database

2001-04-30 Thread dave . prout
The same as jswdk > -Original Message- > From: Sridevi Kumar [SMTP:[EMAIL PROTECTED]] > Sent: 30 April 2001 17:26 > To: '[EMAIL PROTECTED]' > Subject: RE: Tomcat and Access Database > > That's what i am asking ,Kindlt tell me the codes for accessing servlets > with JDBC from tomca

RE: Tomcat and Access Database

2001-04-30 Thread dave . prout
I didn't make any changes to web.xml for database access. I also developed on JSWDK and ported to Tomcat, but I had no problems, i.e. the Access Database sql ran just the same. David > -Original Message- > From: Sridevi Kumar [SMTP:[EMAIL PROTECTED]] > Sent: 30 April 2001 16:51 > To: '

RE: Tomcat and Access Database

2001-04-30 Thread dave . prout
what is the value of query ? > -Original Message- > From: Sridevi Kumar [SMTP:[EMAIL PROTECTED]] > Sent: 30 April 2001 15:54 > To: '[EMAIL PROTECTED]' > Cc: Sridevi Kumar > Subject: Tomcat and Access Database > > Hello, > I am Using Access Database to connect with JDBC in Java