<?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>HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL</title><link>/products/roadtest/b/blog/posts/harting-mica-make-a-safe-r-mqtt-container-with-certificate-and-tls-ssl</link><description>I&amp;#39;m road testing the Harting MICA Complete IIoT Starter Kit .It comes with a MQTT Broker Container. It&amp;#39;s the heart of most examples available for the MICA.It&amp;#39;s installed out of the box on my MICA. But: it is an open service. Everyone that can IP the n</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL</title><link>https://community.element14.com/products/roadtest/b/blog/posts/harting-mica-make-a-safe-r-mqtt-container-with-certificate-and-tls-ssl</link><pubDate>Sun, 06 Dec 2020 20:57:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:270d6652-fbe1-4feb-9329-361cc06281da</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The Harting MICA MQTT container version 2.5 allows to set up secure server from its management console.&lt;/p&gt;&lt;p&gt;No need to create your own anymore.&lt;/p&gt;&lt;p&gt;I like it when posts go obsolete because the supplier provides a better way to handle this.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6948&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL</title><link>https://community.element14.com/products/roadtest/b/blog/posts/harting-mica-make-a-safe-r-mqtt-container-with-certificate-and-tls-ssl</link><pubDate>Mon, 10 Jun 2019 20:05:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:270d6652-fbe1-4feb-9329-361cc06281da</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;There is an issue with my container. It doesn&amp;#39;t restart after reboot and running &amp;quot;service mosquitto start&amp;quot; doesn&amp;#39;t work.&lt;/p&gt;&lt;p&gt;Running &amp;quot;service mosquitto status&amp;quot; returns fail.&lt;/p&gt;&lt;p&gt;There&amp;#39;s no log in /var/logs, and &amp;quot;dmesg | tail&amp;quot; shows no errors.&lt;/p&gt;&lt;p&gt;Uninstalling and re-installing mosquitto works.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To investigate ...&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6948&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL</title><link>https://community.element14.com/products/roadtest/b/blog/posts/harting-mica-make-a-safe-r-mqtt-container-with-certificate-and-tls-ssl</link><pubDate>Sun, 09 Jun 2019 19:23:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:270d6652-fbe1-4feb-9329-361cc06281da</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;MQTT + Mica gurus, do you know why my Node Red flow resolves MQTTRoadtest as a valid server name?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I use blok MQTT In&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/1389x527/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-270d6652-fbe1-4feb-9329-361cc06281da/contentimage_5F00_193176.png:1389:527]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The server name is MQTTRoadtest-mica-grvnb.local. But node-red finds and connects to the mosquitto server running on that machine if I don&amp;#39;t type -mica-grvbn.local.&lt;/p&gt;&lt;p&gt;The node Red mosquitto server is running on a host called NodeRed-mica-grvnb.local.&lt;/p&gt;&lt;p&gt;If I ping MQTTRoadtest from the Node Red server&amp;#39;s command line, it doesn&amp;#39;t resolve.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I tested all combinations, but only MQTTRoadtest and MQTTRoadtest-mica-grvnb.local result in a successful connection.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6948&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL</title><link>https://community.element14.com/products/roadtest/b/blog/posts/harting-mica-make-a-safe-r-mqtt-container-with-certificate-and-tls-ssl</link><pubDate>Sun, 05 May 2019 11:27:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:270d6652-fbe1-4feb-9329-361cc06281da</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;A first test with full secure flow from an external source (my laptop) sending data to MQTT server (on the MICA) over TSL,&lt;/p&gt;&lt;p&gt;then Node-red (also running on the MICA) also securely subscribing to that same MQTT,&lt;/p&gt;&lt;p&gt;and reporting received data to a new dashboard tab called RoadTest:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/726x238/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-270d6652-fbe1-4feb-9329-361cc06281da/3036.contentimage_5F00_193175.png:726:238]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(edit: not full secure because the standard Node Red container is open. I can get at the editor and the dashboard without any authentication, and can send direct messages too)&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6948&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL</title><link>https://community.element14.com/products/roadtest/b/blog/posts/harting-mica-make-a-safe-r-mqtt-container-with-certificate-and-tls-ssl</link><pubDate>Mon, 29 Apr 2019 18:46:20 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:270d6652-fbe1-4feb-9329-361cc06281da</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Good update Jan.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6948&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: HARTING MICA: Make a Safe(r) MQTT Container with Certificate and TLS/SSL</title><link>https://community.element14.com/products/roadtest/b/blog/posts/harting-mica-make-a-safe-r-mqtt-container-with-certificate-and-tls-ssl</link><pubDate>Mon, 29 Apr 2019 12:48:57 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:270d6652-fbe1-4feb-9329-361cc06281da</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;I tested if I could fool the system, by logging on without TLS, using a different certificate, ...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=tail+-f+%2Fvar%2Flog%2Fmosquitto%2Fmosquitto.log]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ef06e6b-9b7d-4651-b12d-db8be7f5e991:type=text&amp;amp;text=1556540325%3A+Client+connection+from+192.168.1.4+failed%3A+error%3A1408F10B%3ASSL+routines%3Assl3_get_record%3Awrong+version+number.%0A....%0A1556540325%3A+New+connection+from+192.168.1.4+on+port+8883.%0A1556540325%3A+OpenSSL+Error%3A+error%3A1408F10B%3ASSL+routines%3Assl3_get_record%3Awrong+version+number%0A1556540325%3A+Socket+error+on+client+%3Cunknown%3E%2C+disconnecting.%0A...%0A1556540354%3A+New+connection+from+192.168.1.4+on+port+8883.%0A1556540354%3A+OpenSSL+Error%3A+error%3A14094416%3ASSL+routines%3Assl3_read_bytes%3Asslv3+alert+certificate+unknown%0A1556540354%3A+Socket+error+on+client+%3Cunknown%3E%2C+disconnecting.]&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;p&gt;...&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It looks like the security is working.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=6948&amp;AppID=14&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>