Anyone Knows how TLS server work with TCP

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Anyone Knows how TLS server work with TCP

1,169 次查看
vinothkumars
Senior Contributor IV

Dear NXP,

I am working on SIM7600 GSM module. I want to implement MQTT over this module.

But, I am not clear, How TLS will work with TCP ?

Please trying to understand my requirement,

         Toradex Apalis Imx6q with Board

                                 |

                     Mqtt Data Transfer

                                 |

                       TLS Cloud

                                 |  Yes                                        | No

            Start Data Transfer(Give 4G access)          Not give 4G access        

echo -e "AT+CMQTTCONNECT=0,\"tls://xxxx.net:8883\" ,20,1 \r\n" > /dev/ttyUSB3

But, This is not the proper as per the document CMQTTCONNECT command begin with "tcp://"

But, I don't have the TCP server. And I don't know How TCP server will work with TLS

And also I attached the document for your reference.

https://simcom.ee/documents/SIM7X00/SIM7500_SIM7600_SIM7800%20Series_MQTT_AT%20Command%20Manual_V1.0... 

If it possible please provide your ideas.

Thanks & Regards,

VinothS

Regards,
Vinothkumar Sekar
标签 (4)
标记 (3)
0 项奖励
3 回复数

881 次查看
b36401
NXP Employee
NXP Employee

Please note that TLS is not a server it is only a layer like SSL used for security reasons (encription and signing.
I mean in both cases (with or without TLS) you connect via TCP but in case of TLS your data gets encripted.

Here is an article about TLS:
https://en.wikipedia.org/wiki/Transport_Layer_Security

0 项奖励

881 次查看
vinothkumars
Senior Contributor IV

Hi Victor,

Thank you for your reply.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 项奖励

881 次查看
vinothkumars
Senior Contributor IV

Now I am little bit clear, Before enable TLS needs to do the MQTT broker settings. But, I don't know which MQTT Broker needs to my TLS.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 项奖励