Freertos+tcp and TLS

Hi all.

I developed a product with Renesas RA6M4 using FreeRTOS+TCP.
My application uses TCI/IP protocol, and all is running ok.

Now I have to add TLS over the communication, but I don’t know how to do.

I don’t have to use mqtt, but just encrypted communication.

How can I add FreeRTOS + TLS on my project?

I saw that there is a function TLS_FreeRTOS_Connect, but I don know where I can find it

Can you help me?

Thank you

You need to use a TLS library to add TLS support. One option is to use mbedTLS. If you want to use mbedTLS, you can use the following as a reference: FreeRTOS/FreeRTOS-Plus/Source/Application-Protocols/network_transport/transport_mbedtls.c at main · FreeRTOS/FreeRTOS · GitHub.