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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ