steam-openid-connect-provider/develop/keycloak/add-to-truststore.sh

10 lines
277 B
Bash
Raw Permalink Normal View History

#!/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