AWS-IOT ESP-MDF mbedtls_ssl_handshake returned -0x2700

sau007007
Posts: 1
Joined: Sun Aug 02, 2020 5:37 am

AWS-IOT ESP-MDF mbedtls_ssl_handshake returned -0x2700

Postby sau007007 » Sun Aug 02, 2020 5:49 am

Greetings!!!,

I successfully ran AWS-IOT on ESP-IDF using esp-aws-iot. I used Amazon Root CA 1 certificate and deviceCert.crt and deviceCert. It went well.

Now, I am trying to integrate above example into ESP-MDF using same certificates. But I am facing below error:
E (66597) aws_iot: failed! mbedtls_ssl_handshake returned -0x2700
E (66597) aws_iot: Unable to verify the server's certificate.
E (66607) subpub: Error(-4) connecting to xxxxxxxxxxxxgy-ats.iot.us-east-1.amazonaws.com:8883

I tried everything but this error is still present. I tried inserting certificates into in code but still same error is coming.

Please help.

Thanks

Who is online

Users browsing this forum: Baidu [Spider] and 9 guests