azure-cosmos-db-emulator-docker icon indicating copy to clipboard operation
azure-cosmos-db-emulator-docker copied to clipboard

Improve documentation for how to use SSL with emulator and BYO-Cert

Open christopheranderson opened this issue 11 months ago • 1 comments

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.

christopheranderson avatar Dec 10 '24 20:12 christopheranderson

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.

jgbradley1 avatar Dec 19 '24 20:12 jgbradley1