Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing root-ca #15

Open
trademark18 opened this issue Sep 1, 2018 · 3 comments
Open

Error parsing root-ca #15

trademark18 opened this issue Sep 1, 2018 · 3 comments

Comments

@trademark18
Copy link

trademark18 commented Sep 1, 2018

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!

@0xBABA
Copy link

0xBABA commented Oct 15, 2019

Having the same issue. did you ever figure this out?

@maxcarvajal14
Copy link

Also having this issue. Any solution?

@Nakul93
Copy link

Nakul93 commented Dec 20, 2019

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!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants