Skip to content

Error parsing root-ca #15

Description

@trademark18

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!

Activity

  1. 0xBABA commented on Oct 15, 2019

    @0xBABA

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

  2. maxC14 commented on Oct 30, 2019

    @maxC14

    Also having this issue. Any solution?

  3. Nakul93 commented on Dec 20, 2019

    @Nakul93

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions