Skip to content

Arduino MKR 10xx, ETH Shield and Amazon Web Services: Safe MQTT with SSL and Certificate

Arduino MKR 10xx, ETH Shield and Amazon Web Services: Safe MQTT with SSL and Certificate

Components

Hardware components

x 1


x 1

Software Apps and online services

x 1

Project description

Sketch Differences between WiFi and Wired Ethernet example There's not that much to change. Where I used the WiFI Arduino libraries in the previous post, this time I use the Ethernet libraries. The connection object is different: EthernetClient client; But the SSL library accept it just the same as a WiFI connection (hooray for C++). BearSSLClient sslClient(client); // Used for SSL/TLS connection The biggest change was in the?getTime()?method in the WiFi example. A reasonable exact time is needed to validate the certificates. In the WiFi example, the sketch uses the WiFi…

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.