summaryrefslogtreecommitdiffstats
path: root/scripts/tps-secret-import.sh
blob: b21cd3689eeada9db1be305c2c2f6f5de1547287 (plain)
1
2
3
4
5
#!/bin/sh

INSTANCE_DIR=/var/lib/pki-tps
grep "internal:" $INSTANCE_DIR/conf/password.conf | sed "s/internal://" > $INSTANCE_DIR/conf/internal.txt
tkstool -I -d $INSTANCE_DIR/alias -n sharedSecret -f $INSTANCE_DIR/conf/internal.txt