<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cURL with wolfSSL to make a HTTPS communication with backend web server in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1369349#M2322</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182430"&gt;@akhileshkg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another possibility is to use Mongoose Library (&lt;A href="https://github.com/cesanta/mongoose" target="_blank"&gt;https://github.com/cesanta/mongoose&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;there is a working example for AWS IoT, which also uses 2-way TLS. An example uses mbedTLS, see&amp;nbsp;&lt;A href="https://mongoose.ws/tutorials/" target="_blank"&gt;https://mongoose.ws/tutorials/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 13:49:13 GMT</pubDate>
    <dc:creator>sergeylyubka</dc:creator>
    <dc:date>2021-11-10T13:49:13Z</dc:date>
    <item>
      <title>cURL with wolfSSL to make a HTTPS communication with backend web server</title>
      <link>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1229456#M2066</link>
      <description>&lt;P&gt;I need to make HTTPS communication from NXP 5748G device to backend server. backend server is Microsoft Azure ASP.Net web APIs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;based on my research I understand that i need to use cURL with wolfSSL for the same. wolfSSL is integrated in S32 SDK already.&lt;/P&gt;&lt;P&gt;1) has someone used cURL with wolfSSL on this device to make HTTPS communication. some insight / reference code would be a great help!&lt;/P&gt;&lt;P&gt;2) if not with cURL, could you suggest another library that could be used with wolfSSL to enable HTTPS.&lt;/P&gt;&lt;P&gt;would appreciate a prompt help/ advise.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;- Akhilesh&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 17:15:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1229456#M2066</guid>
      <dc:creator>akhileshkg</dc:creator>
      <dc:date>2021-02-10T17:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: cURL with wolfSSL to make a HTTPS communication with backend web server</title>
      <link>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1230215#M2068</link>
      <description>&lt;P&gt;Hi Akhilesh,&lt;/P&gt;
&lt;P&gt;I asked around and here are some feedbacks:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"It refers to how to send REST (over HTTPS) calls from the target. So in this case the target is a HTTP client sending requests to a server.&lt;/P&gt;
&lt;P&gt;lwIP features a http client implementation (in /lwip/browse/src/apps/http/http_client.c) which can be used to send HTTP calls, but not HTTPS calls.&lt;/P&gt;
&lt;P&gt;However REST calls are usually over HTTPS, the lwIP HTTP client won’t help."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"I’d suggest to check the example using FreeRTOS coreHTTP:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://syop.freertos.org/http/http-demo-with-tls-mutual-authentication.html" target="_blank"&gt;https://syop.freertos.org/http/http-demo-with-tls-mutual-authentication.html&lt;/A&gt; "&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"Additionally the customer may look into using MQTT which is a protocol targeted for IoT devices communication (device to device, device to cloud).&lt;/P&gt;
&lt;P&gt;Amazon has GreenGrass IoT client which deployed on target can talk over MQTT with the could.&lt;/P&gt;
&lt;P&gt;Microsoft has &lt;A href="https://azure.microsoft.com/en-us/free/iot/?&amp;amp;ef_id=Cj0KCQiAyJOBBhDCARIsAJG2h5ecDnER7Kq5mCpp3_4mvcsnh4bG6sr1MQJ_a2esUxWR_EjJLzckfd0aArWZEALw_wcB:G:s&amp;amp;OCID=AID2100644_SEM_Cj0KCQiAyJOBBhDCARIsAJG2h5ecDnER7Kq5mCpp3_4mvcsnh4bG6sr1MQJ_a2esUxWR_EjJLzckfd0aArWZEALw_wcB:G:s" target="_self"&gt;Azure IoT&lt;/A&gt; which deals with the same aspect as AWS.&lt;/P&gt;
&lt;P&gt;MQTT is supported by lwIP."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Lukas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 07:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1230215#M2068</guid>
      <dc:creator>lukaszadrapa</dc:creator>
      <dc:date>2021-02-12T07:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: cURL with wolfSSL to make a HTTPS communication with backend web server</title>
      <link>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1230221#M2069</link>
      <description>&lt;P&gt;Thanks much Lukas for your response!&lt;/P&gt;&lt;P&gt;well, our core requirement to use a sec&lt;STRONG&gt;&lt;U&gt;ured communication channel (TLS with Mutual authentication)&lt;/U&gt;&lt;/STRONG&gt;. For mutual authentication we intend to use device cert, that we are taking from a CA.&lt;/P&gt;&lt;P&gt;so as you mentioned bare http wouldn't help. Also MQTT also needs to be over TLS,&amp;nbsp; so i guess that also would be a challenge!&lt;/P&gt;&lt;P&gt;i will check on other option that you gave:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://syop.freertos.org/http/http-demo-with-tls-mutual-authentication.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://syop.freertos.org/http/http-demo-with-tls-mutual-authentication.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;however is it NOT POSSIBLE to use cURL&amp;nbsp; on this device (NXP 5748G)? since wolfSSL team recomended me to us cURL!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 07:51:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1230221#M2069</guid>
      <dc:creator>akhileshkg</dc:creator>
      <dc:date>2021-02-12T07:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: cURL with wolfSSL to make a HTTPS communication with backend web server</title>
      <link>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1369349#M2322</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182430"&gt;@akhileshkg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another possibility is to use Mongoose Library (&lt;A href="https://github.com/cesanta/mongoose" target="_blank"&gt;https://github.com/cesanta/mongoose&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;there is a working example for AWS IoT, which also uses 2-way TLS. An example uses mbedTLS, see&amp;nbsp;&lt;A href="https://mongoose.ws/tutorials/" target="_blank"&gt;https://mongoose.ws/tutorials/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 13:49:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/cURL-with-wolfSSL-to-make-a-HTTPS-communication-with-backend-web/m-p/1369349#M2322</guid>
      <dc:creator>sergeylyubka</dc:creator>
      <dc:date>2021-11-10T13:49:13Z</dc:date>
    </item>
  </channel>
</rss>

