TLS Server connection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TLS Server connection

1,444 Views
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
Labels (4)
0 Kudos
Reply
5 Replies

1,270 Views
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 Kudos
Reply

1,270 Views
vinothkumars
Senior Contributor IV

Thank you for your reply. 

Shall I use tcp instead of tls ?

Thanks & Regards,

VinothS.

Regards,
Vinothkumar Sekar
0 Kudos
Reply

1,270 Views
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 Kudos
Reply

1,270 Views
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 Kudos
Reply

1,270 Views
vinothkumars
Senior Contributor IV

Hi Victor Linnik , Thank you for your reply.

Regards,

VinothS

Regards,
Vinothkumar Sekar
0 Kudos
Reply