Hi,
I know this is somehow a basic question but I'm new to Azure world and NodeJS, and I could not find any example so far on how to solve this connection issue on my local tests.
Scenario:
Testing Azure Serverless Function at localhost establishing connection to Azure Cosmos DB, and later on, deploy it and run it on the same virtual network.
I imagine that I have to use OpenSSL to create a certificate (and probably self-signed is not enough?) and deploy the private key somewhere in Cosmos DB settings, and somehow import the public key in my Node env, but I have no idea on how to do this.
Unfortunately, the NodeJS function example does not work out of the box because of this error either, and I see no concrete solution for it anywhere in the docs (actually, the links in the 'quick start' section of cosmos db in portal are broken - 404). May someone please give me some hints?
Thanks!