-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certificate Error Cosmos DB in Visual Code #980
Comments
Sorry for the late reply. Could you try setting |
Hey folks! I can confirm that changing VSCode However, I think there must be another way of working this out built in by the extension. I'm on OSX and I'm unfortunately, I have to run the emulator on a Windows VM with Parallels since after so many years with CosmosDB out, we still don't have xplat emulator. To make the web data explorer to work, I had to export the certificate as suggested in the docs and made it trusted on OSX Keychain. That would allow us to access the WebUI. Setting the global VSCode
That would avoid the security risk and allow scenarios like mine, where I have an "external" client (VSCode) connecting to a "remote" emulator on the VM. I believe option 1 is the easiest to tackle, but 2 is the more reliable. To be honest, in my case, all that would be sorted by having a cross platform emulator (long late feature request made multiple times everywhere, but subject for another issue)... I hope that help... |
This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation. Happy Coding! |
I ran into this today and I'm hesitant to set Because I don't fully understand the security implications of doing so. Jon azsdke2e |
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
Is there an update to this? There needs to be a way to connect to the emulator via http or by ignoring the certificate on the other side. In a local development environment, it's unnecessary to enforce https when network is limited to localhost. |
I am also affected by this problem. My use case is a dev container that is running my development environment and a CosmosDB emulator. I attach the database via connection string and I get an error about the self-signed certificate. |
<Please be sure to remove any private information before submitting.>
Repro steps:
<Enter steps to reproduce issue>
Action: cosmosDB.createDocDBDatabase
Error type: DEPTH_ZERO_SELF_SIGNED_CERT
Error Message: self signed certificate
Version: 0.9.1
OS: win32
The text was updated successfully, but these errors were encountered: