Mbed TLS key failure

Hi @trampas
As I answered you in your other post, the client cannot handle the certificate your server is sending.
There could be many reasons. However, if sometimes the certificate verification succeeds and sometimes it doesn’t, the usual suspect is memory leak.
The question is whether it is a memory issue on the server side or on the client side.
I would suggest you compare the certificate message between success attempts and failed attempts, to see if there is difference. If there was difference, so there is probably a memory issue on the server side. If the certificate that is sent wasn’t tampered, then it might be a memory issue on the client side.
Regards,
Mbed TLS Support
Ron