14-STM32+W5500 basic control chapter (self-built IoT platform) – transplant mbedtls to realize STM32+w5500 connect to MQTT server in SSL one-way authentication mode (server certificate is not verified)

ORIGINAL POST
By 杨奉武
details

819239-20210712004652928-2099135350.png

In the network communication, if SSL is not added, the information will be exposed in the network communication in clear text. This section transplants the mbedtls library to let W5500 connect to the MQTT server in SSL mode.

First, briefly explain SSL, in fact, the whole is TCP and server communication,
It’s just that after the TCP connection to the server, the encryption method and encryption password are negotiated with the server first.
Then the data is encrypted and transmitted;

819239-20210712004652928-2099135350.png

In the network communication, if SSL is not added, the information will be exposed in the network communication in clear text. This section transplants the mbedtls library to let W5500 connect to the MQTT server in SSL mode.

First, briefly explain SSL, in fact, the whole is TCP and server communication,
It’s just that after the TCP connection to the server, the encryption method and encryption password are negotiated with the server first.
Then the data is encrypted and transmitted;

COMMENTS

Please Login to comment
  Subscribe  
Notify of