On Tue, 30 Apr 2002, Ed Moyle wrote: > On Monday, April 29, 2002 09:15, arjan pot [mailto:[EMAIL PROTECTED]] wrote: > > > In other words; is it possible to connect with a Java - client through > > OpenSSL to a server, written in C? > > The part about this that sounds hard is the "connect through OpenSSL" part. > My recommendation would be to use the javax.net.ssl.SSLSocket extensions > and use the built-in SSL support in the java API. Check out the following: > http://java.sun.com/j2se/1.4/docs/api/javax/net/ssl/SSLSocket.html > There are numerousimplementations (e.g. JCSI for example, is free for > research and educational purposes: http://www.wedgetail.com/jcsi/index.html). > > So, for example, you might do something like: > > SSLSocketFactory factory = new SSLSocketFactory(); > Socket myClientSocket = createSocket(new String("127.0.0.1"), 443); > //myClient should be an SSLSocket. Use like you would any other.
Does anybody know if the "wrong signature length" problems in JSSE have been fixed? Otherwise, I don't think this'll work, even if you code it properly... Check out the following link: http://groups.google.com/groups?hl=en&frame=right&th=364ff2e1a2f20db0&seekm=40373dc3.0108131639.3b69c55d%40posting.google.com#link3 -cj -- Chris Cleeland, cleeland_c @ ociweb.com, http://www.milodesigns.com/~chris Principal Software Engineer, Object Computing, Inc., +1 314 579 0066 Support Me Supporting Cancer Survivors in Ride for the Roses 2002 >>>>>>>>> Donate at http://www.milodesigns.com/donate <<<<<<<<< ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]