Re: Re: Help on client authentication

2003-05-30 Thread Patrick Cardinal
)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at 
com.sun.net.ssl.internal.ssl.AppOutputStream.write(DashoA6275)
at 
org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1347)
at 
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:69)
at 
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:127)

at 
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:782)
at 
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2173)
at 
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2528)
at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1065)
at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:638)
at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:526)
at PostXML1.main(PostXML1.java:130)
Exception in thread main

This exception occurs only when I wanna do ssl transactions with 
client authentication. Has any one else encountered this problem? 
Just FYI, this didnot  happen in the previous release of 
httpclient.. Any suggestions will be greatly appreciated..

Patrick

On Thu, 29 May 2003 Michael Becke wrote :
Hello Patrick,

What exactly do you mean by SSL with mutual client 
authentication? Could you provide a simple example of what you 
are trying and what specifically does not work.  A stack trace 
and logs would be helpful.

http://jakarta.apache.org/commons/httpclient/logging.html

Mike

Patrick Cardinal wrote:
I use httpclient to do SSL. We have been having problems using 
the 2.0 beta-1 (even alpha3 ) release of httpclient to do SSL 
with mutual client authentication using Keystores and JSSE. This 
used to work in a previous release of http client. I need to 
upgrade to 2.0 version for a bug fix.

Does anyone know if SSL with mutual client authentication has 
ever been tested with http client?..

Can anyone provide me with sample code to do client 
authentication using httpclient in 2.0?

Any help will be appreciated on this count...

Patrick
___
Get email that means BUSINESS! me @ mycompany.com.
Just Rs.1499/year.
To start, click http://www.rediffmailpro.com
-
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]

___
Get email that means BUSINESS! me @ mycompany.com.
Just Rs.1499/year.
To start, click http://www.rediffmailpro.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Help on client authentication

2003-05-29 Thread Patrick Cardinal
I use httpclient to do SSL. We have been having problems using the 
2.0 beta-1 (even alpha3 ) release of httpclient to do SSL with 
mutual client authentication using Keystores and JSSE. This used 
to work in a previous release of http client. I need to upgrade to 
2.0 version for a bug fix.

Does anyone know if SSL with mutual client authentication has ever 
been tested with http client?..

Can anyone provide me with sample code to do client authentication 
using httpclient in 2.0?

Any help will be appreciated on this count...

Patrick
___
Get email that means BUSINESS! me @ mycompany.com.
Just Rs.1499/year.
To start, click http://www.rediffmailpro.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]