|Real Software Forums
|SSLSocket with ServerSocket does not establish connection
|Page 1 of 1|
|Author:||gm1 [ Sun Mar 31, 2013 1:00 pm ]|
|Post subject:||SSLSocket with ServerSocket does not establish connection|
I built a very simple server and client to collect data from some sites (client side), include in JSON stream and send to a server side, both as console application.
Using SSLSocket with Secure = False works good, no problems at all. But, when Secure is enabled no connection is made on the server side. The client is running on Linux and the server on Mac.
I also tested building a certificate file, with the following commands:
openssl req -new -key collector.key -out collector.csr
openssl x509 -req -days 365 -in collector.csr -signkey collector.key -out collector.crt
The key and crt file was concat'd, but the result is the same.
Using tshark on the client side:
The code on the server side is:
Server side, ServerSocket AddSocket:
Dim Ret as Class_SecureTCP = New Class_SecureTCP
st = new Class_SecureTCP
What am I doing wrong?
Thanks in advance,
|Author:||simulanics [ Thu Apr 11, 2013 2:39 pm ]|
|Post subject:||Re: SSLSocket with ServerSocket does not establish connectio|
What is the port number (443?)? anything under certain port values you will need to run the server as an administrator/root. The code seems to appear fine on my end
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group