summaryrefslogtreecommitdiffstats
path: root/scripts/tks-create-shared.sh
blob: 0ad97480fbc38a8c6f275de012a1710e002531f7 (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 -T -d $INSTANCE_DIR/alias -n sharedSecret -f $INSTANCE_DIR/conf/internal.txt