---
title: "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)"
url: "https://maker.wiznet.io/gavinchang/projects/14STM32W5500-basic-control-chapter-selfbuilt-IoT-platform-transplant-mbedtls-to-realize-STM32w5500-connect-to-MQTT-server-in-SSL-oneway-authentication-mode-server-certificate-is-not-verified/"
markdown_url: "https://maker.wiznet.io/gavinchang/projects/14STM32W5500-basic-control-chapter-selfbuilt-IoT-platform-transplant-mbedtls-to-realize-STM32w5500-connect-to-MQTT-server-in-SSL-oneway-authentication-mode-server-certificate-is-not-verified/md"
type: "UCC: User Created Content"
author: "Gavin"
author_url: "https://maker.wiznet.io/gavinchang/"
original_author: "gavinchang"
original_url: "https://www.cnblogs.com/yangfengwu/p/13844529.html"
published: "2022-07-04"
language: "en"
likes: 0
views: 241
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# 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)

> 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 author: gavinchang (source: https://www.cnblogs.com/yangfengwu/p/13844529.html)

## Article

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;

---

Source: https://maker.wiznet.io/gavinchang/projects/14STM32W5500-basic-control-chapter-selfbuilt-IoT-platform-transplant-mbedtls-to-realize-STM32w5500-connect-to-MQTT-server-in-SSL-oneway-authentication-mode-server-certificate-is-not-verified/
