steam-openid-connect-provider/develop/keycloak/add-to-truststore.sh
Mark Ettema 59bd22567e Adding Dockerfiles for supporting services.
Updating keycloak container to be able to add SSL cert
2021-05-15 18:27:57 +07:00

10 lines
No EOL
277 B
Bash

#!/usr/bin/env bash
CACERTS=$(readlink -e $(dirname $(readlink -e $(which keytool)))"/../lib/security/cacerts")
sudo keytool \
-import -trustcacerts \
-alias "dev.local.crt" -file /tmp/dev.local.crt \
-keystore ${CACERTS} \
-storepass changeit \
-noprompt