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
gefragt vor 5 Jahren224 Aufrufe
1 Antwort
0

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

GES
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen