Open trademark18 opened 6 years ago
Having the same issue. did you ever figure this out?
Also having this issue. Any solution?
Check your policy. I also had the same issue then I updated my policy like this,
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "iot:Connect", "Resource": "" }, { "Effect": "Allow", "Action": [ "iot:Publish", "iot:Subscribe", "iot:Receive" ], "Resource": "" } ] }
Now its working!!!
I've substituded my certs in the .c file per the instructions (including \n\ at end of lines) but I'm getting a runtime error from the esp32 saying that it had an error parsing the root-ca.
I have verified that the cert is correct, so that's not it.
Here's the error:
E (14239) aws_iot: failed! mbedtls_x509_crt_parse returned -0x2180 while parsing root cert
Thanks!