Open Blackbaud-JasonBodnar opened 5 days ago
The new emulator will generate a new certificate when starting up. To get access to it run the following:
containerId=$(docker ps --all --quiet --latest)
docker cp ${containerId}:/scripts/certs/domain.crt .
docker cp ${containerId}:/scripts/certs/rootCA.crt .
You then can use keytool
to add them to your keystore.
Note: You will need to do those steps every time you start the emulator. To avoid this you can either use http (which is the default and will be fully supported in an upcoming Java SDK version) or specify your own certificates.
Describe the bug Following the instructions for downloading the SSL certificate in the README I get an error about wrong version number.
To Reproduce Steps to reproduce the behavior:
Expected behavior The SSL certificate is downloaded.
Actual behavior You get an error:
Desktop (please complete the following information):
Docker Images Used:
mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview
Arguments && Environment variables to start Docker:
docker run --detach --publish 8081:8081 --publish 1234:1234 mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview