haibin108 / MQTTWithTLS

This is a client program with TLS+MQTT.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTTWithTLS

This is a client program with TLS+MQTT. I've used two open source libraries here, libemqtt and mbedtls. Thanks to the authors of both open source libraries, and thanks to open source.

Compile environment

 Ubuntu 16.04 or other linux systems

Compiling

make

make clean

Run

./MQTTCNWithTLS

Note

the certificate that the program is loading is in the project directory and needs to be replaced according to the client certificate generated by you.

Documentation

If you want to see the Chinese defailed documentation, please log on to the website.  https://blog.csdn.net/ptonlix/article/details/79866925 --teach how to use mosquitto to bulid mqtt server with TLS. https://blog.csdn.net/ptonlix/article/details/79869756 --Verify the project code.

About

This is a client program with TLS+MQTT.


Languages

Language:C 86.7%Language:Shell 6.8%Language:C++ 3.4%Language:Perl 1.6%Language:Makefile 1.0%Language:CMake 0.6%Language:Tcl 0.0%