azure-cosmos-db-emulator-docker
azure-cosmos-db-emulator-docker copied to clipboard
Improve documentation for how to use SSL with emulator and BYO-Cert
We can expand our docs to make it more clear how to use your own cert. Currently, we emphasize using http, but that's still not easy for customers using older SDKs or Java, which is still in the process of getting http support out the door.
Is there a way to disable SSL authentication when first starting up the docker container so that http connections are permitted?
In certain test/debug workflows, it's an added burden to retrieve the SSL certificate. For example, it would be nice to have an environment flag like this:
docker run \
--publish 8081:8081 \
--publish 10250-10255:10250-10255 \
-e DISABLE_SSL='1' \
--name linux-emulator \
--detach \
mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest
such that the connection string uses an http endpoint protocol.