An open API service indexing awesome lists of open source software.

https://github.com/shubhamv108/spring-boot-azure-cosmos-db


https://github.com/shubhamv108/spring-boot-azure-cosmos-db

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

1. Start cosmos db
```docker compose up -d```

2. Fetch certificate
```curl -k https://localhost:8081/_explorer/emulator.pem > ~/emulatorcert.crt```

3. Add certificate to keystore
```cd $JAVA_HOME/lib/security```
```keytool -importcert -alias cacerts -keystore cacerts -file ~/emulatorcert.crt```

4. Add VM Options
```
-Djavax.net.ssl.trustStore=/usr/lib/jvm/jdk-21-oracle-x64/lib/security/cacerts
-Djavax.net.ssl.trustStoreType=JKS
```