I am getting the following error while connecting ESP32 with AWS IOT:- (error attached following) I went thru many links but was not able to solve the issue. I have generated valid certificates that are :-
aws-root-ca.pem
certificate.pem.crt
private.pem.key
E (5446) aws_iot: failed! mbedtls_ssl_handshake returned -0x2700
E (5446) aws_iot: Unable to verify the server's certificate.
E (5456) subpub: Error(-4) connecting to a39wjx7wm5wvia-ats.iot.us-east-2.amazonaws.com:8883