<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Arduino MKR 10xx, ETH Shield and Amazon Web Services: Safe MQTT with SSL and Certificate</title><link>/challenges-projects/project14/iot-in-the-cloud/b/blog/posts/arduino-mkr-10xx-eth-shield-and-amazon-web-services-safe-mqtt-with-ssl-and-certificate</link><description>We&amp;#39;ll connect an Arduino MKR to AWS IoT with an Ethernet cable and the MKR ETH shield.I&amp;#39;ve done this before on a MKR1010 with WiFi. This post uses the same example, with a wired Ethernet solution. With this example, you can safely connect to AWS and i</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Arduino MKR 10xx, ETH Shield and Amazon Web Services: Safe MQTT with SSL and Certificate</title><link>https://community.element14.com/challenges-projects/project14/iot-in-the-cloud/b/blog/posts/arduino-mkr-10xx-eth-shield-and-amazon-web-services-safe-mqtt-with-ssl-and-certificate</link><pubDate>Tue, 07 Apr 2020 10:51:40 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:68a0a864-40c6-4307-a7ac-d04a73fd3399</guid><dc:creator>tdp1985</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Dear Jan,&lt;/p&gt;&lt;p&gt;Thank you very much for this article.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I use the same hardware as you : Arduino Mkr Zero + Mkr Eth shield.&lt;/p&gt;&lt;p&gt;I would like to connect to a MQTT server that support TLS or SSL, no certificate needed but just Login / Password.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I stuck on this part of your code :&amp;nbsp;&amp;nbsp; sslClient.setEccSlot(0, certificate);&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;With a MQTT client on computer I use theses setting :&lt;/p&gt;&lt;p&gt;Connectivity : Websockets&lt;/p&gt;&lt;p&gt;Enable user authentification: User / password&lt;/p&gt;&lt;p&gt;TLS/SSL Mode : Certificates and keys provided externally&lt;/p&gt;&lt;p&gt;Protocol : TLSv1.2&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Do you know how is it possible to modify your code to connect to these kind of MQTT with TLS server ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7743&amp;AppID=227&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>