Skip to content

getting AWS_IO_FILE_VALIDATION_FAILURE when trying to use multi-account-registration setup #250

@keshrisohit

Description

@keshrisohit

Platform/OS/Device
What are you running the SDK on?
macOS

I am trying to set up multi-account registration for IOT core , where I can connect to IoT without registering the CA. I am getting the error while I a trying to do so .
I have validated that rootCA is correct and device cert and key are valid .Policy attached to certificate grants access to connect to IoT core. If anyone can help that will be great.

    http_proxy_options=proxy_options)
  File "/Users/sohitkumar/multi_cert/venv/lib/python3.7/site-packages/awsiot/mqtt_connection_builder.py", line 231, in mtls_from_path
    return _builder(tls_ctx_options, **kwargs)
  File "/Users/sohitkumar/multi_cert/venv/lib/python3.7/site-packages/awsiot/mqtt_connection_builder.py", line 189, in _builder
    tls_ctx = awscrt.io.ClientTlsContext(tls_ctx_options)
  File "/Users/sohitkumar/multi_cert/venv/lib/python3.7/site-packages/awscrt/io.py", line 433, in __init__
    options.verify_peer
RuntimeError: 1038 (AWS_IO_FILE_VALIDATION_FAILURE): A file was read and the input did not match the expected value

Metadata

Metadata

Assignees

Labels

closed-for-stalenessguidanceQuestion that needs advice or information.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 2 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions