Error: Invalid "caPath" option supplied

0

Hi,
I tried to connect my thing to the aws iot core and it was working perfectly locally but when I uploaded the code to the server I am getting this weird error:
throw new Error(exceptions.INVALID_CA_PATH_OPTION);
^
Error: Invalid "caPath" option supplied.
I tried every single root ca from this link https://docs.aws.amazon.com/iot/latest/developerguide/managing-device-certs.html but I'm getting the same error.
Can someone help me ?

GES
asked 5 years ago220 views
1 Answer
0

It turned out that you have to change the name of the file as well not just replace the file content.

GES
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions