Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-15 Thread Subscriber
ing a copy. Thank you. - Original Message - From: "Subscriber" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, May 15, 2007 9:11 AM Subject: Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain One additional comment: The exception is not

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-15 Thread Martin Gainty
o: "Tomcat Users List" Sent: Tuesday, May 15, 2007 9:11 AM Subject: Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain One additional comment: The exception is not thrown when the user clicks "Cancel" - it's thrown when IE accesses the page and presents

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-15 Thread Subscriber
One additional comment: The exception is not thrown when the user clicks "Cancel" - it's thrown when IE accesses the page and presents the "Choose certificate" dialog box. So the exception is thrown before any user interaction (besides from typing the URL) :-) regards, kews Subscriber wrote

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-15 Thread Subscriber
Thanks Bill - that was the solution to my problem, but unfortuantely a new one saw the day :-) The patch works fine with Mozilla Firefox, but it is like Internet Explorer closes the SSL socket instantly, which results in this Stacktrace: 2007-05-15 13:03:10 org.apache.coyote.http11.Http11Proc

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-14 Thread Bill Barker
"Subscriber" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > Thanks for your answer Mark! I would like to add custom code to Tomcat to > make this work, but I can't figure out where to start...I can't see any > alternative solution to my problem. Besides that, I'm hard hun

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-14 Thread Subscriber
Hi, Thanks for your answer Mark! I would like to add custom code to Tomcat to make this work, but I can't figure out where to start...I can't see any alternative solution to my problem. Besides that, I'm hard hung up on Tomcat anyway. I've tried to download the Tomcat source code, but I can s

Re: Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-14 Thread Mark Thomas
Subscriber wrote: > Hi, > > How do I handle this exception, when the user clicks "Cancel" upon SSL > Client authentication when prompted for a certificate. Basically you can't without some custom Tomcat code. Since the handshake occurs before any HTTP traffic is sent, Tomcat doesn't know which we

Handling javax.net.ssl.SSLHandshakeException: null cert chain

2007-05-14 Thread Subscriber
Hi, How do I handle this exception, when the user clicks "Cancel" upon SSL Client authentication when prompted for a certificate. javax.net.ssl.SSLHandshakeException: null cert chain Tomcat throws this exception, but I would like to catch it and redirect the user to a proper error page. The