diff options
Diffstat (limited to 'scripts/tks-create-shared.sh')
-rwxr-xr-x | scripts/tks-create-shared.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tks-create-shared.sh b/scripts/tks-create-shared.sh new file mode 100755 index 0000000..0ad9748 --- /dev/null +++ b/scripts/tks-create-shared.sh @@ -0,0 +1,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 |