<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf9160 Azure IoT Hub with DPS (share certificates)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110707/nrf9160-azure-iot-hub-with-dps-share-certificates</link><description>Hi everyone, 
 we are currently developing a customer product, which connects to an Azure IoT Hub instance using DPS. We successfully tested this connection (over MQTT, TLS, X509) and it works so far. But along the developent there came up an interesting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 May 2024 12:58:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110707/nrf9160-azure-iot-hub-with-dps-share-certificates" /><item><title>RE: nrf9160 Azure IoT Hub with DPS (share certificates)</title><link>https://devzone.nordicsemi.com/thread/481802?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 12:58:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02e00c08-1e77-49d5-a651-4306a8c79753</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;br /&gt;&lt;br /&gt;You could read through&amp;nbsp;&lt;a href="https://learn.microsoft.com/en-us/azure/iot-dps/"&gt;IoT Hub DPS&lt;/a&gt;&amp;nbsp;documentation to check if DPS can be used the way you want (and expect), and that the usage of DPS actually aligns with your security requirements. In addition, you can read more about&amp;nbsp;&lt;a href="https://learn.microsoft.com/en-us/azure/iot-dps/concepts-symmetric-key-attestation?tabs=linux#install-the-derived-device-key"&gt;installing derived device key&lt;/a&gt;&amp;nbsp;in Azure documentation. Using symmetric keys for attestation keys does not have support in NCS, but you could potentially consider doing this on your own.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Azure IoT Hub with DPS (share certificates)</title><link>https://devzone.nordicsemi.com/thread/481702?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 07:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8754236b-683d-4e12-a765-46f14c22bdc1</guid><dc:creator>tkeilbach</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;just talked again with my colleague and he said, he created the diagram by his own based on the knowledge he gained from the Microsoft Azure IoT Hub Learn page and tested the setup with a python script. So this is no original Microsoft picture.&lt;/p&gt;
&lt;p&gt;Lets take one step back and let me summerize what we want to archive:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Produce the device in the production facility (PCB assembly, download firmware, end test)&lt;/li&gt;
&lt;li&gt;Send a bunch of devices to a customer&lt;/li&gt;
&lt;li&gt;If the device gets turned on the first time, the device connects &amp;#39;somehow&amp;#39; to our prepared Azure cloud. If it is a known device (over the IMEI, the cloud knows which IMEI belongs to which customer) it gets everything it needs to connect to the right IoT Hub over a secure connection (TLS). This process must be done only once. If I understood it correctly, the &amp;quot;Device Provision Service (DPS)&amp;quot; is exactly doing this.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Is there a way to provision the device like described above or is the only possible way to download the certificates already at production time?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Azure IoT Hub with DPS (share certificates)</title><link>https://devzone.nordicsemi.com/thread/481669?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 06:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d05076be-a445-4efe-bb96-28860e583766</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;br /&gt;&lt;br /&gt;Can you share the link to the Microsoft Azure IoT Hub Learn page where you took the screenshot from?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Azure IoT Hub with DPS (share certificates)</title><link>https://devzone.nordicsemi.com/thread/481558?ContentTypeID=1</link><pubDate>Thu, 02 May 2024 12:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5aa341a-9883-4ace-91a1-7ccfb6687832</guid><dc:creator>tkeilbach</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;thanks for your reply!&lt;/p&gt;
&lt;p&gt;Is there any other way to produce devices without adding individual certificates in production but to have the ability to connect to the Azure IoT Hub (and download the certificates and hub informationen while the device is in field / at the customer)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general, Azure IoT Hub seems to support a mechanism to get the certificates from the the cloud:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:244px;max-width:436px;" alt=" " height="244" src="https://devzone.nordicsemi.com/resized-image/__size/872x488/__key/communityserver-discussions-components-files/4/dps.jpg" width="436" /&gt;&lt;/p&gt;
&lt;p&gt;It uses the &amp;quot;Symmetric Key Exchange&amp;quot;, but the questions are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Does Nordics Implementation of &amp;quot;Azure IoT Hub for embedded C&amp;quot; in&amp;nbsp;&lt;span&gt;nRF Connect SDK supports the symmetric key exchange? &lt;/span&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;If not, is it limited to connect to the Azure IoT Hub (DPS service) only over TLS / X509 certificates?&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;If not, would it be possible to add this feature in the library by Nordic / by us?&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Is there a documentation for the Azure IoT Hub implemenation?&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span&gt;BR&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thomas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 Azure IoT Hub with DPS (share certificates)</title><link>https://devzone.nordicsemi.com/thread/481315?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 14:14:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0b7638-ee16-48ff-8c2f-0586733778dd</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;It is not possible to have common device certificate. Certificates need to be for individual device. DPS does not send the certificate.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>