<?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 SSL TCP Server with FRDM-K64F in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/SSL-TCP-Server-with-FRDM-K64F/m-p/1081686#M9799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FRDM K64F and I would like to create raw TCP server with SSL (x509 certificate). I am not able to find example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to find example&amp;nbsp;ssl_pthread_server in mbedtls yet it is not for K64F as&amp;nbsp;MBEDTLS_NET_C is not define.&lt;/P&gt;&lt;P&gt;Which API should I use to create raw TCP server with SSL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Apr 2020 14:41:01 GMT</pubDate>
    <dc:creator>darshan_shah1</dc:creator>
    <dc:date>2020-04-09T14:41:01Z</dc:date>
    <item>
      <title>SSL TCP Server with FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/SSL-TCP-Server-with-FRDM-K64F/m-p/1081686#M9799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using FRDM K64F and I would like to create raw TCP server with SSL (x509 certificate). I am not able to find example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to find example&amp;nbsp;ssl_pthread_server in mbedtls yet it is not for K64F as&amp;nbsp;MBEDTLS_NET_C is not define.&lt;/P&gt;&lt;P&gt;Which API should I use to create raw TCP server with SSL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 14:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/SSL-TCP-Server-with-FRDM-K64F/m-p/1081686#M9799</guid>
      <dc:creator>darshan_shah1</dc:creator>
      <dc:date>2020-04-09T14:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: SSL TCP Server with FRDM-K64F</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/SSL-TCP-Server-with-FRDM-K64F/m-p/1081687#M9800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi,&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Darshan_The_Geek"&gt;Darshan_The_Geek&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check our example lwip_httpssrv_mbedTLS_freertos&amp;nbsp; on the FRMD-K64 SDK ( please make sure to have the freeRTOS and LWIP middleware to find the example ). In the example, the mbedTLS API is used to add SSL to the server.&lt;/P&gt;&lt;P&gt;Search for the define&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;HTTPSRV_CFG_MBEDTLS_ENABLE&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;All the functions under the define are related to TLS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, please notice&amp;nbsp; that the LWIP API is used to init the TCP server&amp;nbsp; in the example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More information related can be found at &lt;A href="https://tls.mbed.org/kb/how-to/mbedtls-tutorial"&gt;Mbed_TLS_tutorial&lt;/A&gt;. Mbed provides&amp;nbsp; examples&lt;/P&gt;&lt;P&gt;Such as &lt;A href="https://github.com/ARMmbed/mbedtls/blob/development/programs/ssl/dtls_client.c"&gt;dtls_client.c&lt;/A&gt; and &lt;A href="https://github.com/ARMmbed/mbedtls/blob/development/programs/ssl/dtls_server.c"&gt;dtls_server.c&lt;/A&gt; to create a SSL socket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, let me know if this information was helpful.&lt;/P&gt;&lt;P&gt;Best Regards, Diego&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 20:32:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/SSL-TCP-Server-with-FRDM-K64F/m-p/1081687#M9800</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-04-15T20:32:57Z</dc:date>
    </item>
  </channel>
</rss>

