coreHTTP basic TLS demo "TLS Handshake fails"

To be honest, at this point, I am not sure if this is the reason of failure as I am not TLS expert. One thing that you can try is try with some other servers. Posting on mebdTLS forums may also help you to get better response.

I have also tried with :

But I not able to pass the handshake.

Can you please try to connect coreHTTP windows simulator example with either of the server. There could be something that I am doing wrong.

I also tried this but didn’t heard back from them. :slightly_frowning_face:

You need to find the root of the chain using the following command and use that as Root CA -

openssl s_client -connect httpbun.com:443 -tls1_3 -showcerts

I am able to connect to httpbun.com and send a GET request successful with the following patch: connect_to_httpbun.patch (10.9 KB)

Do the following to use the above patch:

  1. Clone GitHub - FreeRTOS/FreeRTOS: 'Classic' FreeRTOS distribution. Started as Git clone of FreeRTOS SourceForge SVN repo. Submodules the kernel..
  2. Apply the patch.
  3. Build and run the following project: FreeRTOS/FreeRTOS-Plus/Demo/coreHTTP_Windows_Simulator/HTTP_Mutual_Auth at main · FreeRTOS/FreeRTOS · GitHub

Thanks.

Thanks, it is also working with this configuration on my MCU with my intended server.

Glad that it worked for you!