<?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>TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48439/tls-session-resumption-on-nrf9160</link><description>I have managed to establish a proper TLS connection with the proper credentials, but it seems that TLS session resumption is missing from my implementation since my device does the TLS handshake every time it reconnects after I close the connection. </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2019 10:36:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48439/tls-session-resumption-on-nrf9160" /><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/225580?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 10:36:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:170d47f9-20c5-42b4-821a-dbd17f2d80d5</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Tan,&lt;/p&gt;
&lt;p&gt;Unfortunately, I cannot comment on when this will be implemented.&lt;/p&gt;
&lt;p&gt;I would suggest that you reach out to your Regional Sales Manager with regards to roadmap questions and upcoming features dates.&lt;/p&gt;
&lt;p&gt;If you do not know who this is, please send me a direct message on Devzone and I will provide the details.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/225521?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2019 02:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e94495-7e83-4cec-8f9b-64152ce0ae48</guid><dc:creator>eskimo_IcYPaTh</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Based on that thread, it seems that session caching (or session resumption)&amp;nbsp;has not&amp;nbsp;been fully implemented yet in the bsdlib.&amp;nbsp;Correct me if I&amp;#39;m wrong.&lt;/p&gt;
&lt;p&gt;If that&amp;#39;s the case,&amp;nbsp;is there an estimated time when this feature will be ready for use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/225417?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 14:48:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8384684-21ab-456e-b541-3587c9ec2dcd</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Please see &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/55335/dtls-session-resumption-on-nrf9160-modem-fw-v1-1-0" rel="noopener noreferrer" target="_blank"&gt;this thread for more details about this issue.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/222580?ContentTypeID=1</link><pubDate>Thu, 28 Nov 2019 10:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9402e2f6-9ab9-42fb-8db4-6c8561e8a7de</guid><dc:creator>Marcus_S</dc:creator><description>&lt;p&gt;Hi, I have the same problem here. I would like to enable the session cache with setsockopt(). The header net/socket.h does not provide that option. Whereas the header nrf_socket.h defines the option&amp;nbsp;&lt;span style="background-color:#ffffff;"&gt;NRF_SO_SEC_SESSION_CACHE&lt;/span&gt; with numeric value 3, whis is the same as the numeric value of&amp;nbsp;&lt;span style="background-color:#ffffff;"&gt;TLS_CIPHERSUITE_LIST&lt;/span&gt; in net/socket.h. So I certainly cannot use this option ID with setsockopt() from net/socket.h, as is will be interpreted as a ciphersuit list. Does this mean that I have to rewrite my application using all the corresponding nrf_socket functions defined in nrf_socket.h instead of the functions defined in net/socket.h? All the SDK samples use net/socket.h, not nrf_socket.h, btw, and in another thead I read that I should use the net/socket functions, which internally use the nrf_socket functions anyway, which makes me wonder why the option definitions are inconsistent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/193123?ContentTypeID=1</link><pubDate>Mon, 17 Jun 2019 10:14:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dac5902-1ef5-499f-9423-787e7b6de144</guid><dc:creator>eskimo_IcYPaTh</dc:creator><description>&lt;p&gt;But the struct type &amp;#39;&lt;span&gt;nrf_sec_config_t&amp;#39;&lt;/span&gt; from the header file &amp;#39;nrf_socket.h&amp;#39; is of a totally different type from the one used in the MQTT example. There is no &amp;#39;&lt;span&gt;session_cache&amp;#39; variable in the &amp;#39;mqtt_sec_config&amp;#39; struct.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/192589?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 08:46:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f58e4743-af44-4add-bc55-5790c51b07f7</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Tan,&lt;/p&gt;
&lt;p&gt;The TLS session cache is disabled by default.&lt;br /&gt;Please see &lt;em&gt;nrf_sec_session_cache_t&lt;/em&gt; for details:&amp;nbsp;&lt;a href="https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/include/nrf_socket.h#L403"&gt;https://github.com/NordicPlayground/nrfxlib/blob/master/bsdlib/include/nrf_socket.h#L403&lt;br /&gt;&lt;em&gt;n&lt;/em&gt;&lt;/a&gt;&lt;em&gt;ote:&amp;nbsp;&lt;span&gt;Session cache, even if enabled may not be used if the peer does not support it.&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/192530?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 02:53:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7cade92-e6bf-4f59-aa84-bcb2ca809be2</guid><dc:creator>eskimo_IcYPaTh</dc:creator><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;My implementation is the same as the example provided. I can get a TLS session going no problems. But not for TLS session resumption.&lt;/p&gt;
&lt;p&gt;Edit: I am using the latest modem firmware&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS Session Resumption on nRF9160</title><link>https://devzone.nordicsemi.com/thread/192421?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2019 13:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2f638e4-118c-437d-9da0-5470fd68d762</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Tan,&lt;br /&gt;Please compare your implementation to this &lt;a href="https://github.com/joakimtoe/fw-nrfconnect-nrf/commit/36532a8ca60bf7139a988b5cbb4e6cb47948a9fa" rel="noopener noreferrer" target="_blank"&gt;MQTT with TLS&lt;/a&gt;&amp;nbsp;sample and use the &lt;a href="https://www.nordicsemi.com/Products/Low-power-cellular-IoT/nRF9160/Download#infotabs" rel="noopener noreferrer" target="_blank"&gt;latest modem firmware &lt;/a&gt;for the best experience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>