TLS Server connection

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

TLS Server connection

2,326 次查看
vinothkumars
Senior Contributor IV

Dear NXP,

I am working Android 7.1.2 on imx6q processor. I want to know how to connect with tls server ?

tls server,

      tls://xxx.net:8883

I know TCP we can do. But, how I will established the connection for TLS server ?

Is it TCP needs ? If yes, which IP Address I want to provide for TLS connection establishment. 

Please response if anyone experience.

Thanks & Regards,

VinothS.

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

2,152 次查看
b36401
NXP Employee
NXP Employee

You can use https the same way as http in the URLs.
By the way in case of curl you can use -k option to perform "insecure" SSL connections.

0 项奖励
回复

2,152 次查看
vinothkumars
Senior Contributor IV

Thank you for your reply. 

Shall I use tcp instead of tls ?

Thanks & Regards,

VinothS.

Regards,
Vinothkumar Sekar
0 项奖励
回复

2,152 次查看
vinothkumars
Senior Contributor IV

I tried with MQTTbox Application (needs TLS configured server) but TCP unable to connect to the telemetry server. But, TLS connected successfully. From that I understood, there is no possible to use module commands (needs TCP configured server) to connect the telemetry server.

Thanks & Regards,

VinothS.

Regards,
Vinothkumar Sekar
0 项奖励
回复

2,152 次查看
b36401
NXP Employee
NXP Employee

Here you can find a documentation regarding to MQTTbox configuration:

http://workswithweb.com/html/mqttbox/mqtt_client_settings.html

0 项奖励
回复

2,152 次查看
vinothkumars
Senior Contributor IV

Hi Victor Linnik , Thank you for your reply.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 项奖励
回复