Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-11-01 Thread Alexander Kleymenov
Hi Gerald, I'm very happy to hear this issue was fixed. Thank you for your participation in its resolution! With my latest patch supplied with HARMONY-2029 JIRA report you can use Harmony VM and JSSE to work with PKCS12 stores. To adapt your client code for Harmony you should convert JKS trust s

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-27 Thread Boris Kuznetsov
Thanks for catching. Updated provider patch and patch for test are attached to H-1937 Thanks, Boris On 10/27/06, Tim Ellison <[EMAIL PROTECTED]> wrote: Boris Kuznetsov wrote: > H-1937 contains the latest patch, but we have no regression test yet. The patch causes a failure in existing tests:

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-26 Thread Tim Ellison
Boris Kuznetsov wrote: > H-1937 contains the latest patch, but we have no regression test yet. The patch causes a failure in existing tests: incorrect out data length expected:<2> but was:<0> junit.framework.AssertionFailedError: incorrect out data length expected:<2> but was:<0> at org.apache.h

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-26 Thread Boris Kuznetsov
H-1937 contains the latest patch, but we have no regression test yet. Thanks, Boris On 10/26/06, Tim Ellison <[EMAIL PROTECTED]> wrote: Alexander Kleymenov wrote: > Hi Gerald, > > The problem was with CertificateRequest message – it was made with > incorrect length of certificate_authorities ve

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-26 Thread Tim Ellison
Alexander Kleymenov wrote: > Hi Gerald, > > The problem was with CertificateRequest message – it was made with > incorrect length of certificate_authorities vector. Please, try > attached patch. Before applying the patch please revert all previously > patched files to their initial state: > > %Ha

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-24 Thread Alexander Kleymenov
Hi Gerald, The problem was with CertificateRequest message – it was made with incorrect length of certificate_authorities vector. Please, try attached patch. Before applying the patch please revert all previously patched files to their initial state: %Harmony_WS_Root%> svn revert modules/x-net/s

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-23 Thread Alexander Kleymenov
Hi Gerald, Boris and I resolved the problem. This was an incorrect "Certificate Verify" message sent to the server peer during mutual authentication. Please try the attached patch and tell us how it works. If it is OK for you I will attach it to the JIRA report you created (when the server will w

RE: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-18 Thread Gerald Jerome
[mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 3:27 AM To: harmony-dev@incubator.apache.org Subject: Re: [classlib][xnet] Problem connecting using SSLSocketImpl Hello Gerald, > Hi Alexander, I'm a bit new at this ASF Harmony stuff so bear with me. It's OK. We all are

Re: [classlib] logging (was: Re: [classlib][xnet] Problem connecting using SSLSocketImpl)

2006-10-18 Thread Geir Magnusson Jr.
Alexei Zakharov wrote: If you do want to inject application-level tracing then I'd go for aspects, which are designed specifically to provide such orthogonal behavior to the classlib functionality. I suppose we still need someone to investigate this field and invent the acceptable solution. I

Re: [classlib] logging (was: Re: [classlib][xnet] Problem connecting using SSLSocketImpl)

2006-10-18 Thread Alexei Zakharov
If you do want to inject application-level tracing then I'd go for aspects, which are designed specifically to provide such orthogonal behavior to the classlib functionality. I suppose we still need someone to investigate this field and invent the acceptable solution. I remember Geir volunteered

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-18 Thread Alexander Kleymenov
Hello Gerald, Hi Alexander, I'm a bit new at this ASF Harmony stuff so bear with me. It's OK. We all are involved in a continual learning process. I'm using Eclipse on Windblows XP. I set it up per the instructions on the Apache-Harmony web set for configuring Eclipse to work on Harmony cod

Re: [classlib] logging (was: Re: [classlib][xnet] Problem connecting using SSLSocketImpl)

2006-10-18 Thread Tim Ellison
Mikhail Loenko wrote: > 2006/10/17, Alexander Kleymenov <[EMAIL PROTECTED]>: > > Hi Tim > >> BTW, there are some logging capabilities in JSSE provider. You can >> turn them on by specifying -Djsse=record,prf,socket as an option to >> VM. Log output could be useful in problem analysis. > > You a

RE: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-17 Thread Gerald Jerome
ut I see nothing in Eclipse showing this output. Perhaps there is a log file somewhere? I dunno. Thanks, Gerald Jerome Vnet 262-2375 -Original Message- From: Alexander Kleymenov [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 2:27 AM To: harmony-dev@incubator.apache.org Subject: R

[classlib] logging (was: Re: [classlib][xnet] Problem connecting using SSLSocketImpl)

2006-10-17 Thread Mikhail Loenko
2006/10/17, Alexander Kleymenov <[EMAIL PROTECTED]>: Hello Gerald! It is glad to hear that You are trying to use Harmony's JSSE provider! > I'd like to inquire if there is any intention in the future to support any of the TLS AES type cipher suites? Now only the base Cipher Suites (described b

Re: [classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-17 Thread Alexander Kleymenov
Hello Gerald! It is glad to hear that You are trying to use Harmony's JSSE provider! I'd like to inquire if there is any intention in the future to support any of the TLS AES type cipher suites? Now only the base Cipher Suites (described by RFC 2246) are supported. But the design of the provi

[classlib][xnet] Problem connecting using SSLSocketImpl

2006-10-16 Thread Gerald Jerome
Hello, I’m trying to use an SSLSocketImpl object to connect to a host another group has written that uses the TLS protocol and the OpenSSL library.  I have no problems using the Sun JSSE classes to do this.  The issue is that the sun JDK does not support renegotiation using the SSLSocket cl