SSL TCP Server with FRDM-K64F

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SSL TCP Server with FRDM-K64F

ソリューションへジャンプ
748件の閲覧回数
darshan_shah1
Contributor II

Hi,

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. 

I am able to find example ssl_pthread_server in mbedtls yet it is not for K64F as MBEDTLS_NET_C is not define.

Which API should I use to create raw TCP server with SSL?

0 件の賞賛
1 解決策
664件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

 Hi, Darshan_The_Geek

Sorry for the delay!

You can check our example lwip_httpssrv_mbedTLS_freertos  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.

Search for the define

HTTPSRV_CFG_MBEDTLS_ENABLE

All the functions under the define are related to TLS.

 

Additionally, please notice  that the LWIP API is used to init the TCP server  in the example

 

More information related can be found at Mbed_TLS_tutorial. Mbed provides  examples

Such as dtls_client.c and dtls_server.c to create a SSL socket.

Please, let me know if this information was helpful.

Best Regards, Diego

元の投稿で解決策を見る

0 件の賞賛
1 返信
665件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

 Hi, Darshan_The_Geek

Sorry for the delay!

You can check our example lwip_httpssrv_mbedTLS_freertos  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.

Search for the define

HTTPSRV_CFG_MBEDTLS_ENABLE

All the functions under the define are related to TLS.

 

Additionally, please notice  that the LWIP API is used to init the TCP server  in the example

 

More information related can be found at Mbed_TLS_tutorial. Mbed provides  examples

Such as dtls_client.c and dtls_server.c to create a SSL socket.

Please, let me know if this information was helpful.

Best Regards, Diego

0 件の賞賛