<?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>Create Azure IoT Hub certificates</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67604/create-azure-iot-hub-certificates</link><description>Hi, 
 I have been struggling with this for 2 days now, and I cannot get my head around the problem. 
 I want to send data from my nrf9160-dk to Azure IoT Hub via the sample application: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Oct 2020 20:42:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67604/create-azure-iot-hub-certificates" /><item><title>RE: Create Azure IoT Hub certificates</title><link>https://devzone.nordicsemi.com/thread/277251?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 20:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80e0b44c-554f-4ef6-bcc6-4b1a6af94814</guid><dc:creator>cvt1982</dc:creator><description>&lt;p&gt;Hi &amp;Oslash;yvind&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t get the overall picture of the Baltimore CyberTrust Root CA, and that we then have a self-signed certificate that is verified through Azure - and which is then used to create a client certificate and private key.&lt;/p&gt;
&lt;p&gt;For instance you and Azure again and again say that the certGen.sh tool is not for production but only testing, but nowhere I see a step by step guide to doing the certGen.sh steps for a production. This would be nice to add to your description to help developers and companies to make secure products.&lt;/p&gt;
&lt;p&gt;All that said the inputs from your developer gave some clear sight. So I was finally able to successfully connect to Azure.&lt;/p&gt;
&lt;p&gt;As you can see below I get telemetry telegrams sent to Azure:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/data_5F00_ok.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The telemetry can be seen in the&amp;nbsp;Azure IoT Explorer&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/iot_5F00_explorer.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And in the same way I&amp;#39;m able to send direct messages to lite the led on the board&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/direct_5F00_method.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/direct_5F00_method_5F00_led.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I might add some extra inputs for the incident over the coming days to give other the step-by-step guide to do what I just did... maybe something you can add to the general description (up to you).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Azure IoT Hub certificates</title><link>https://devzone.nordicsemi.com/thread/277139?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 12:56:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9d7f391-31dc-4fed-a580-aa968daddba7</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Carsten,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Yes, I have gotten some feedback, that I hope will help. First of all our developers see that the documentation needs to be rewritten.&lt;/p&gt;
&lt;p&gt;Further more, I got this:&lt;/p&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;From the screenshot it looks like the CA cert is wrong, it should be Baltimore CyberTrust Roort CA&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Baltimore shall not be uploaded to Azure IoT Hub&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;After running the scripts in the &lt;a title="https://github.com/azure/azure-iot-sdk-c/blob/master/tools/cacertificates/cacertificateoverview.md" href="https://github.com/Azure/azure-iot-sdk-c/blob/master/tools/CACertificates/CACertificateOverview.md" rel="noopener noreferrer" target="_blank"&gt;guide &lt;/a&gt;the customer mentions, only the generated root certificate (for testing and dev only) must be uploaded and verified. It looks like the customer has succeeded doiung that.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;If the customer has gone through all the steps in the guide, these certificates and keys should be provisioned:&lt;/em&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;CA certificate: Baltimore CyberTrust Root CA&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Client certificate: &lt;code&gt;certs/new-device.cert.pem&lt;/code&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Private key: &lt;code&gt;private/new-device.key.pem&lt;/code&gt;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Azure IoT Hub certificates</title><link>https://devzone.nordicsemi.com/thread/277103?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 10:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0989a984-5024-4e5e-b68e-d78a08bc6761</guid><dc:creator>cvt1982</dc:creator><description>&lt;p&gt;Hi &amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;Any news on the topic?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Carsten&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create Azure IoT Hub certificates</title><link>https://devzone.nordicsemi.com/thread/276848?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 12:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39409028-9edc-4ed9-8b29-cab8a5133aca</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Carsten,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I see what you mean. This does&amp;nbsp;not look like a straight forward process, and note that this sample is on our master branch, which can be somewhat unstable/not fully tested. I have not tested this sample before, let me test it here and see if I can get through it. If I&amp;#39;m not able to get it working I will discuss with the developer.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>