TCPSocket on secure servers
I'm trying to connect to a server that uses SSL, I can connect but unfortunately since there is no negotiation done in the implementation of TCPSocket there is no message to be read, any suggestions on how to handle this?
I need it to work similar to openssl s_connect….
When I connect to the same server at a non secure port it works fine, so in the worst case scenario I could try a STARTTLS but this seems even more difficult to do….