<?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>Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80100/azure-fota-update-file-access-from-blob-storage</link><description>Hello, I&amp;#39;m trying to run the Azure_FOTA sample application from NCS 1.4.2 on a Thingy:91 before adding the functionality to another application. I&amp;#39;m able to connect to IoT Hub just fine via DPS, but I&amp;#39;m not able to download the update file from my Azure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Dec 2023 09:41:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80100/azure-fota-update-file-access-from-blob-storage" /><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/461745?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 09:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1503a71-773f-4147-bee5-fd71f0f5c65a</guid><dc:creator>overflow</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My ticket already created.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;devzone.nordicsemi.com/.../need-help-with-fota-via-device-provisioning-on-my-nrf7002dk---azure-fota---iot-hub&amp;#160;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/461700?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2023 07:17:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99d55652-20f9-4fe1-a863-15be6d6d260e</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Yvan,&lt;/p&gt;
&lt;p&gt;Can you create a new ticket where you explain your issue?&lt;/p&gt;
&lt;p&gt;I think it will be more tidy than doing a conversatiion in the middle of this ticket&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/461685?ContentTypeID=1</link><pubDate>Tue, 26 Dec 2023 13:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43f86eed-82da-4acc-940f-ba0a38ff9206</guid><dc:creator>overflow</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;ve this same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I try do download the firmware.bin&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve download errono - 113 any idea?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/386640?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 12:17:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30572b5c-f79f-47d2-bb34-ed71115d7251</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Brown,&lt;/p&gt;
&lt;p&gt;In that case, I suggest that you contact Azure&amp;#39;s support instead. &lt;br /&gt;They will know how to set it up on theirs side in a proper way.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/386626?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 11:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d054756b-e189-4e4f-98b9-1cb73a97de73</guid><dc:creator>brown27</dc:creator><description>&lt;p&gt;Supply the key to the Azure cloud. I was planning to&amp;nbsp;supply the key to my nrf52840dk device by saving it as string in a .h file, as I did for the Azure IoT Hub certificates.&lt;/p&gt;
&lt;p&gt;I initially thought that I might be able to supply the key to the Azure cloud storage account by setting zsock_setsockotpt(), but I don&amp;#39;t think that it is possible to use this function to supply the access key. I could easily be wrong, though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/386608?ContentTypeID=1</link><pubDate>Fri, 16 Sep 2022 11:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42d9cfc4-620c-4081-b1fe-549ef6805b33</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Brown,&lt;/p&gt;
[quote user="JetNoiseRacing"]If so, how would you supply the key in the connection process?[/quote]
&lt;p&gt;Supply the key to the Azure cloud or to the nRF chip?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/386265?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2022 21:33:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:448f918a-2a3e-4dea-808e-fd542fac98bb</guid><dc:creator>brown27</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/sigurd-hellesvik"&gt;Sigurd&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;Is using the storage account&amp;#39;s access key an option (since Azure storage accounts do not support certificate chains, as you mention)?&amp;nbsp;If so, how would you supply the key in the connection process?&lt;/p&gt;
&lt;p&gt;I would reply directly to your comment but I am having issues with the &amp;quot;reply&amp;quot; button again.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/332186?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 15:34:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:763c63b8-ff07-4032-acf8-da7125947c35</guid><dc:creator>Nick163485132</dc:creator><description>&lt;p&gt;Thanks Sigurd. I&amp;#39;ll look into that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/331964?ContentTypeID=1</link><pubDate>Thu, 30 Sep 2021 13:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0dab672-a6ac-4693-a450-7709d28f9850</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Nick&lt;/p&gt;
&lt;p&gt;Good to hear that it is working now!&lt;/p&gt;
&lt;p&gt;For the private access:&lt;br /&gt;I asked the developers, and they say that it does not look like Azure blob storage allow for the use of a custom certificate chain.&lt;/p&gt;
&lt;p&gt;You will have to setup their own endpoints, for example using: &lt;a href="https://docs.microsoft.com/en-us/azure/app-service/app-service-web-configure-tls-mutual-auth"&gt;Configure TLS mutual authentication for Azure App Service&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/331803?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 20:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d21dbaf7-3e7d-4505-ac48-5ef70a74b1c8</guid><dc:creator>Nick163485132</dc:creator><description>&lt;p&gt;Thank you Sigurd. My process was the same but I must have changed a setting somewhere during the creation of the Storage Account or Container as the process looked different today than it did yesterday. It appears to be working now, though I&amp;#39;m concerned that everything is set to public access. How do you suggest we modify this setup so that only administrators and our IoT leaf devices have access to these update files?&lt;/p&gt;
&lt;p&gt;And thank you, I am aware of the edit feature but a problem with our firewall was causing this website to be excessively slow and exhibit odd behavior so I wasn&amp;#39;t going to depend on something that didn&amp;#39;t work the first time anyway.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/331750?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 13:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81928289-86c9-477f-a914-7d79c6f0e679</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Nick&lt;/p&gt;
[quote user=""]2. What is the purpose of CONFIG_AZURE_FOTA_SEC_TAG? [/quote]
&lt;p&gt;The security tags are so that you are able to save multiple different certificates in your modem. They are not used by the cloud, but by the modem. See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrfxlib/nrf_modem/doc/tls_dtls_configuration.html?highlight=dtls"&gt;here&lt;/a&gt; for more information.&lt;/p&gt;
&lt;p&gt;If you used the same certificates for as for azure in general, use the same tag as &amp;quot;CONFIG_AZURE_IOT_HUB_SEC_TAG&amp;quot;. &lt;br /&gt;If you provisioned new certificates for FOTA using another tag, use the tag number you chose when provisioning.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regarding question 1 and question 2, I understand that both these are related to your issue with not being able to do a FOTA update?&lt;br /&gt;Here are the steps I took to create a blob storage:&lt;/p&gt;
&lt;p&gt;1. Create a &lt;a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-account-create?tabs=azure-portal"&gt;Azure Storage Account&lt;/a&gt;. I just put in a name and used standard settings. This might change for you.&lt;/p&gt;
&lt;p&gt;2. Chose your new Storage account, and go to the containers menu. Press &amp;quot;Create container&amp;quot; and choose a name.&lt;/p&gt;
&lt;p&gt;3. Change something in your code (I added printk(&amp;quot;After FOTA\n&amp;quot;)) and build the project. Do not flash.&lt;/p&gt;
&lt;p&gt;3. Select the new container. Then press &amp;quot;upload&amp;quot;, and upload the file &amp;lt;your_project&amp;gt;/build/zephyr/app_update.bin.&lt;/p&gt;
&lt;p&gt;4. Then just proceed as described in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.7.0/nrf/samples/nrf9160/azure_fota/README.html#testing"&gt;Azure FOTA sample&lt;/a&gt; documentation, Go to your hub, find &amp;quot;device twin&amp;quot;, copy and paste the JSON to &amp;quot;desired&amp;quot; and press save.&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remember to change the &amp;quot;jobID&amp;quot; every time you want it to perform a FOTA again. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also remember to change the &amp;quot;host&amp;quot; and &amp;quot;path&amp;quot; variables to what you use on Azure. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I had to add my container name to &amp;quot;path&amp;quot;, as such:&lt;br /&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;&amp;quot;path&amp;quot;: &amp;quot;fota-container/app-update.bin&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is this the same method you used to upload the firmware image?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;(PS: You should be able to edit your posts, to fix formatting after you have posted)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Azure FOTA Update File Access from Blob Storage</title><link>https://devzone.nordicsemi.com/thread/331582?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 20:09:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca920d1b-dff1-4f4f-bccd-63bc58bea0c1</guid><dc:creator>Nick163485132</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry, I don&amp;#39;t know what happened to my formatting. This website has not been cooperating for a couple of days. The lines of code I was referring to are:&lt;/p&gt;
&lt;p&gt;# Change the security tag to the tag where the certificates are provisioned&lt;br /&gt;# for the server where the FOTA image is hosted&lt;br /&gt;CONFIG_AZURE_FOTA_SEC_TAG=10&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>