<?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 1.3 SSL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76550/tls-1-3-ssl</link><description>Hello! 
 I need little help in setting up mBed TLS 1.3 socket.. I am using the https_client, how do I configure the project 
 Regards</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 22 Jun 2021 10:11:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76550/tls-1-3-ssl" /><item><title>RE: TLS 1.3 SSL</title><link>https://devzone.nordicsemi.com/thread/316432?ContentTypeID=1</link><pubDate>Tue, 22 Jun 2021 10:11:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38312824-a052-4dc7-b23d-28add1412530</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Glad to hear that the issue was solved!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&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: TLS 1.3 SSL</title><link>https://devzone.nordicsemi.com/thread/316305?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 14:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c96dffe0-efbd-4861-ba72-1c24bd44795c</guid><dc:creator>yashchabria</dc:creator><description>&lt;p&gt;You are correct , my root CA was incorrect setup your example seems to work&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS 1.3 SSL</title><link>https://devzone.nordicsemi.com/thread/316297?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 14:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7be3a5b7-25b5-4d28-b42d-a19d57875577</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;My apologies, the nrf socket api will return not supported if you try to passthrough a tls v1.3 prototype.&lt;/p&gt;
&lt;p&gt;Please also note that mbedtls does not support tls1v3:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://tls.mbed.org/tech-updates/blog/working-towards-mbed-tls-3"&gt;https://tls.mbed.org/tech-updates/blog/working-towards-mbed-tls-3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="yashchabria"]&lt;p&gt;I need to interface to an API that has CA based on TLS 1.3(GlobalSign-RootCA-R3); I tried using the TLS1.2 https_client sample, with GlobaSign-RootCA -R2&amp;nbsp; but no luck&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have 3 options&lt;/p&gt;
&lt;p&gt;1) mbedtls&lt;/p&gt;
&lt;p&gt;2)wolfSSL&lt;/p&gt;
&lt;p&gt;3) nrf_ *socket api&lt;/p&gt;[/quote]
&lt;p&gt;&amp;nbsp;You sure you need TLS v1.3 to finish this request? It sounds like there&amp;#39;s a problem with the Root CA, and not the tls version.&lt;/p&gt;
&lt;p&gt;If you try setting this specific variable to &amp;quot;NONE&amp;quot;, which will disable&amp;nbsp;hostname&amp;nbsp;verification?&lt;/p&gt;
&lt;p&gt;(note: disable this&amp;nbsp;&lt;strong&gt;purely for testing&lt;/strong&gt; &lt;strong&gt;purposes&lt;/strong&gt;)&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/samples/nrf9160/https_client/src/main.c#L122"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/samples/nrf9160/https_client/src/main.c#L122&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: TLS 1.3 SSL</title><link>https://devzone.nordicsemi.com/thread/316248?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 11:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:298487e9-71d4-44d3-bd6f-cc32f0c0b1b5</guid><dc:creator>yashchabria</dc:creator><description>&lt;p&gt;Thanks, I saw the net_ip.h header file, however there is mention of I can use mbedtls, when I configure mbedtls, I get&amp;nbsp;&amp;nbsp;&lt;span&gt;undefined reference to `mbedtls_net_connect&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I need to interface to an API that has CA based on TLS 1.3(GlobalSign-RootCA-R3); I tried using the TLS1.2 https_client sample, with GlobaSign-RootCA -R2&amp;nbsp; but no luck&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have 3 options&lt;/p&gt;
&lt;p&gt;1) mbedtls&lt;/p&gt;
&lt;p&gt;2)wolfSSL&lt;/p&gt;
&lt;p&gt;3) nrf_ *socket api&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please can you help me with mbedtls&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Yash&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: TLS 1.3 SSL</title><link>https://devzone.nordicsemi.com/thread/316173?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 07:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:082ba26f-bdce-4f1b-81d0-4c9c1f670382</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;The networking api in zephyr does not have support for tls v1.3:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/master/include/net/net_ip.h#L75-L81"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/master/include/net/net_ip.h#L75-L81&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, if you use the nrf_* socket api directly, you can setup a socket with tls v1.3:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrfxlib/blob/v1.5.1/nrf_modem/include/nrf_socket.h#L120"&gt;https://github.com/nrfconnect/sdk-nrfxlib/blob/v1.5.1/nrf_modem/include/nrf_socket.h#L120&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there anything specific you want to do?&amp;nbsp;&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: TLS 1.3 SSL</title><link>https://devzone.nordicsemi.com/thread/316153?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 04:44:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c430799e-da77-4a19-a1f5-a345c6311825</guid><dc:creator>yashchabria</dc:creator><description>&lt;p&gt;I cannot find&amp;nbsp;&lt;span&gt;mbedtls_net_connect function&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;nrf9160ns\Debug/../../../src/main.c:81: undefined reference to `mbedtls_net_connect&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>