NodeJs client erroring #10
-
I have a nodejs application using the @azure/service-bus package. I am able to connect to an actual Azure service bus but not the emulator. I keep getting the following error:
I am able to get your example function working. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey! I am not a node.js expert, but I think you might need to add the CA cert as trusted in node.js or make it use system cert store. Take a look here https://stackoverflow.com/questions/29283040/how-to-add-custom-certificate-authority-ca-to-nodejs. As I read it, the second answer would make it use system store (sbemu documentation talks about importing the test ca cert there). |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response running registered the cert so that it would work. It still won't send the message
here is the console log from the emulator
not sure what I am missing, any help would be appreciated |
Beta Was this translation helpful? Give feedback.
Hey! I am not a node.js expert, but I think you might need to add the CA cert as trusted in node.js or make it use system cert store.
Take a look here https://stackoverflow.com/questions/29283040/how-to-add-custom-certificate-authority-ca-to-nodejs. As I read it, the second answer would make it use system store (sbemu documentation talks about importing the test ca cert there).