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
demandé il y a 5 ans224 vues
1 réponse
0

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

GES
répondu il y a 5 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions