What is the difference between HTTPS and TCP over SSL

I am working on a DotNet client application that will send a message to a Java server via HTTPS. Prior to this, one of my team members developed an application that uses the tcp client with ssl to communicate with the server. Please help me out if I use his exception code than the changes I need to make for Https communication in Dot Net.

+5
source share
1 answer

"TCP over SSL" is not what you have - it is SSL that "runs" over TCP. In the case of HTTPS, you have HTTP over SSL over TCP. Here is the application-level HTTP protocol. In the case of just “SSL over TCP”, you have a custom application layer protocol, and with HTTPS you have standard HTTP.

Therefore, you can reuse portions of existing code, but you need to replace your own protocol (whatever it is) with HTTP. If the existing protocol works, there is no point in changing it (if you do not know that you need a replacement, and you know what you need).

+14
source

All Articles