Skip to content

Commit 366f995

Browse files
authored
Revamp docker emulator keytool instructions for Java
1 parent d644242 commit 366f995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/docker-emulator-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Use the following steps to run the emulator on Linux:
139139
For Java-based applications, the certificate must be imported to the [Java trusted store.](local-emulator-export-ssl-certificates.md)
140140

141141
```bash
142-
keytool -keystore ~/cacerts -importcert -alias emulator_cert -file ~/emulatorcert.crt
142+
keytool -import -alias emulator_cert -keystore -file ~/emulatorcert.crt -storepass changeit -noprompt
143143
java -ea -Djavax.net.ssl.trustStore=~/cacerts -Djavax.net.ssl.trustStorePassword="changeit" $APPLICATION_ARGUMENTS
144144
```
145145

0 commit comments

Comments
 (0)