<?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 HTTPS example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52753/nrf9160-https-example</link><description>Hello, 
 I&amp;#39;m trying to use the nRF9160 to make an HTTPS connection to a REST server. Is HTTPS supported? If yes, how to enable / configure HTTPS and are there any example projects? If no, then are there plans for httos support? 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Oct 2019 08:22:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52753/nrf9160-https-example" /><item><title>RE: nRF9160 HTTPS example</title><link>https://devzone.nordicsemi.com/thread/212935?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 08:22:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb6f7472-d2f3-461b-a365-bebbd07fab70</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which tag are you on?&lt;/p&gt;
&lt;p&gt;v1.0.0 should have support for TLS in http_download_client:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/v1.0.0/subsys/net/lib/download_client/src/http_download_client.c#L103"&gt;https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/v1.0.0/subsys/net/lib/download_client/src/http_download_client.c#L103&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 HTTPS example</title><link>https://devzone.nordicsemi.com/thread/212877?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 20:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06bbd8ef-796f-483f-b0e2-bc13b379c2fb</guid><dc:creator>CWallach</dc:creator><description>&lt;p&gt;In file&amp;nbsp;http_download_client.c, the function&amp;nbsp; resolve_and_connect() has this comment:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;/** TODO:&lt;br /&gt;* Need to set security setting for HTTPS.&lt;br /&gt;*/&lt;br /&gt;rc = connect(fd, remoteaddr, addrlen);&lt;/p&gt;
&lt;p&gt;The comments indicates that HTTPS support is incomplete and the code does not look like its fully using HTTPS. Can you confirm that the download client actually does HTTPS?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 HTTPS example</title><link>https://devzone.nordicsemi.com/thread/212804?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2019 11:51:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e406e8bd-d8c9-4d9a-8354-15f7b9d001b5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;#39;m trying to use the nRF9160 to make an HTTPS connection to a REST server. Is HTTPS supported?&amp;nbsp; If yes, how to enable / configure HTTPS and are there any example projects? If no, then are there plans for httos support?[/quote]
&lt;p&gt;&amp;nbsp;We have a limited support for http(s) via the download_client:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/download_client.html?highlight=https"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/download_client.html?highlight=https&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Its aimed at downloading files, and there&amp;#39;s no explicit sample that shows how to use https directly, unfortunately, and in addition, you&amp;#39;ll need to manually provision certificates.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>