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
已提问 5 年前224 查看次数
1 回答
0

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

GES
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则