Relation between TCP and TLS

Hi All,

I am working on GSM module. I want to use MQTT with TLS. But, I unable to this. MQTT requires TCP. I want to know, what is the relation between TCP and TLS/SSL.

Thanks & Regards,

TLS adds security to TCP. To use TLS over TCL you need to set the necessary certificates and start communication. Normally servers listen to different ports for TLS enabled connections. For normal MQTT over TCP servers use port no 1883 as standard. For TLS enabled MQTT over TCP servers use port no 8883 as standard.

1 Like

Thank you for your reply.