summaryrefslogtreecommitdiffstats
path: root/scripts/tks-secret-remove.sh
blob: 84d3a0845c2c8a1202ac8942f1bdfa784f7d39dd (plain)
1
2
3
4
5
#!/bin/sh

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