Hello,
I' a newcomer to Grizzly. I was looking for a framework to implement a
client/server application and found Grizzly to be a perfect tool for this.
But I am facing a problem with handshake both in my application and
SSLConnectionTest from the Grizzly unit test code source at line
if (sslConnector.handshake(readBB, false) {
...
I'm getting an exception of the following type:
Sep 28, 2008 12:05:30 PM
com.sun.grizzly.SSLConnectorHandler$SSLInternalCallbackHandler onRead
SEVERE: Exception occured when reading from SSL channel.
java.io.EOFException: Connection closed
at
com.sun.grizzly.SSLConnectorHandler.doAsyncHandshake(SSLConnectorHandler.java:1035)
at
com.sun.grizzly.SSLConnectorHandler.access$800(SSLConnectorHandler.java:108)
at
com.sun.grizzly.SSLConnectorHandler$SSLInternalCallbackHandler.onRead(SSLConnectorHandler.java:1189)
at
com.sun.grizzly.CallbackHandlerContextTask.doCall(CallbackHandlerContextTask.java:76)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:309)
at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:168)
I have created my own certificates with jdk's keytool as described in
http://docs.sun.com/app/docs/doc/819-3658/ablrb?a=view
but i don't think that it caused the problem.
So, what may be the reason of the error? Any advice is appreciated
Thanks for your help,
Quende
--
View this message in context: http://www.nabble.com/Problem-with-SSL-tp19709902p19709902.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.