<?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 FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58664/nrf9160-fota-over-https</link><description>Hi, 
 
 I&amp;#39;ve been skimming through the NRF9160 FOTA samples and related libraries(1.1 and master) and having hard time to understand some of the basics. 
 
 My assumptions are: 
 1) It looks like fota_download library does not support TLS at all(sec_tag</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 05 Mar 2020 12:16:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58664/nrf9160-fota-over-https" /><item><title>RE: NRF9160 FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/238270?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 12:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d09f6397-d478-45c4-8315-fafbac7e2303</guid><dc:creator>fastfox</dc:creator><description>&lt;p&gt;Yep, thanks. That is pretty much what I have been trying to do for few hours now.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just struggling with unknown CA problems, even though there is another active TLS connection using the same CA cert while download client TLS fails. But that is another story.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/238214?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 09:53:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53a53c91-4e33-4d0c-b7f8-33902954152b</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Fastfox,&lt;br /&gt;Thank you for pointing that out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By the way, we happily would like contributions to expand our libraries in NCS so that the libraries can be more flexible for your use-case.&lt;br /&gt;(Ther is a &lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1873" rel="noopener noreferrer" target="_blank"&gt;Pull request on the User Guide &lt;/a&gt;on how developers can contribute to NCS)&lt;br /&gt;&lt;br /&gt;There was just pushed out a Pull request based on what you have mentioned:&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1986" rel="noopener noreferrer" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1982" rel="noopener noreferrer" target="_blank"&gt;Add option to define security tag for TLS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;If you need more control over how the HTTP requests look like, then&lt;br /&gt;a&amp;nbsp;suggestion is that you could build your own FOTA library based on &lt;a href="https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_HTTP_CLIENT.html?highlight=http_client" rel="noopener noreferrer" target="_blank"&gt;HTTP_CLIENT&lt;/a&gt;and in a combination with the &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/dfu/dfu_target.html?highlight=dfu%20target" rel="noopener noreferrer" target="_blank"&gt;DFU TARGET&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/pull/1982" rel="noopener noreferrer" target="_blank"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/238031?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 12:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1c44657-664e-43bb-8f70-1ff04557e6cf</guid><dc:creator>fastfox</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for prompt reply.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So basically the answer is that I should&amp;nbsp;butcher fota&amp;nbsp;lib to get HTTPS and&amp;nbsp;butcher download client to get the headers, right?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What about the roadmap. IMHO, those libraries should have APIs that can be used to configure such stuff instead of having to fork and rewrite the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF9160 FOTA over HTTPS</title><link>https://devzone.nordicsemi.com/thread/238024?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 12:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81ae049d-1821-4fb1-85b5-6d4bd9d88386</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Fastfox,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By default, the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/fota_download.html" rel="noopener noreferrer" target="_blank"&gt;FOTA download library&lt;/a&gt; uses HTTP for downloading the firmware file. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To use HTTPS instead, apply the changes described in&amp;nbsp;&lt;/span&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/download_client.html#download-client-https"&gt;&lt;span&gt;the HTTPS section of the download client documentation&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;to the library.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>