Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Sending data between Java and VB through SSL
mike3343

From: North, NJ USA
Posts: 1
Member Since: 05/12/06
posted May 12, 2006 4:32 PM

I have a SSL Java client and I'm using the example code for the SSL CharGen Server (VB .net). I can send and receive data to and from my java client, but on the server side I can only send data. When I try to receive data I get the error "The token supplied to the function is invalid." Has anyone seen this error before?

I think it may be a problem with my certificates. On the server side, I am using a certificate that I generated with makecert.exe. On the java side I am setting the system property "javax.net.ssl.trustStore" to my generated keystore file (created from the certificate on my server). Is this the wrong way to do things?
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted May 15, 2006 4:22 PM

From my understanding of this case, you have a secure VB Server and a secure Java Client.
If the SSL Chargen sample works, does it work when "Client Authentication Required" is NOT set?
If receiving data on the server is a problem, do you see the same problem if you try this with the SSL EchoServer sample?

You may also want to try the Dart sample Certificate and see if it works on the client machine.

-Raj
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX