Date: Mon, 23 Aug 1999 18:24:03 -0500
From: Matt Helgren - Sun Austin <matt.helgren@sun.com>
To: java-security@java.sun.com
Subject: JSSE question
Hi,
I'm trying to get the very basic functionality of the JSSE working with
the small snipet of code
out of the overview.html from the jsse docs. Basically I'm trying:
SocketFactory f = SSLSocketFactory.getDefault ();
Socket s = f.createSocket ("hostname", port);
And then I force the handshaking by sending data over the connection. I
then
get an exception:
java.lang.Exception: Stack trace
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.<init>(Throwable.java:94)
at java.lang.Exception.<init>(Exception.java:42)
at java.lang.Thread.dumpStack(Thread.java:989)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.a([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage([DashoPro-V1.2-120198])
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Compiled Code)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Compiled Code)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(Compiled Code)
at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Compiled Code)
at java.io.PrintStream.write(Compiled Code)
at java.io.OutputStreamWriter.flushBuffer(Compiled Code)
at java.io.PrintStream.write(Compiled Code)
at java.io.PrintStream.print(Compiled Code)
at testing.main(Compiled Code)
Anyone gotten anything working with jsse yet?? Please reply to
me directly as Im not on the alias.
Matt