Overview
Features
Download
Documentation
Community
Add-Ons & Services

SSL and TCPServer?

Please post support and help requests here.
teh
Posts: 3
Joined: 17 Jul 2008, 21:30

SSL and TCPServer?

Postby teh » 24 Sep 2008, 01:29

Is it possible to use TCPServer with a SecureServerSocket? I have a simple prototype server that works fine with ServerSocket, but substituting SecureServerSocket seems to prevent a connection from being made. In the latter case, the connection factory's createConnection is never called.

Anyone have a suggestion or an examples? I'd be so happy if you did...

btw, I have a properties file that has

openSSL.client.verificationMode = none

openSSL.client.verificationDepth = 0

openSSL.server.verificationMode = none

openSSL.server.verificationDepth = 9


peter
Posts: 67
Joined: 11 Jul 2006, 16:26
Location: Austria

Re: SSL and TCPServer?

Postby peter » 24 Sep 2008, 13:00

^> Is it possible to use TCPServer with a SecureServerSocket? I have a simple prototype server that works fine with ServerSocket, but substituting SecureServerSocket seems to prevent a connection from being made. In the latter case, the connection factory's createConnection is never called.
>
> Anyone have a suggestion or an examples? I'd be so happy if you did...
>
> btw, I have a properties file that has
>
> openSSL.client.verificationMode = none
>
> openSSL.client.verificationDepth = 0
>
> openSSL.server.verificationMode = none
>
> openSSL.server.verificationDepth = 9
>
>^
Check the NetSSL/HTTPSTimeServer sample. It is HTTPS but you can use the SSL setup code from there for TCP. You also must also configure the certificate to use by the TCPServer.

br

Peter


Return to “Support”

Who is online

Users browsing this forum: No registered users and 4 guests