Skip to content

STM32: ethernet w5500 with plain (HTTP) and SSL (HTTPS)

OPEnS is with a quiet amount of resources, allows standard Arduino Ethernet to use secure connections.

irina

Published September 21, 2022 · © Apache License 2.0 (Apache-2.0)

Original author: RENZO MISCHIANTIOriginal source (new tab)

STM32: ethernet w5500 with plain (HTTP) and SSL (HTTPS)

Components

Hardware components

Software Apps and online services

WIZnet parts

Project description

STM32F1 STM32F4 STM32 w5500 PA4 CS PA5 SCK PA6 MISO PA7 MOSI 3.3v (better with external 200mha) VCC GND GND Retrieve certificate To use an SSL, we need the server certificate, but in this case, SSLClient uses a trick given by BearSSL implementation. This minimal x509 verification engine allows using of Trust Anchors. I add a simple online generator that you can find here. You must only write the site’s address (httpbin.org) in the first input box, click Generate code, copy the code, and put it inside a file called trust_anchors.h and put it inside the sketch folder.

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.

Similar projects you might like