summaryrefslogtreecommitdiffstats
path: root/scripts/tps-check-shared.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tps-check-shared.sh')
-rwxr-xr-xscripts/tps-check-shared.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tps-check-shared.sh b/scripts/tps-check-shared.sh
new file mode 100755
index 0000000..50ab49e
--- /dev/null
+++ b/scripts/tps-check-shared.sh
@@ -0,0 +1,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 -L -d $INSTANCE_DIR/alias -f $INSTANCE_DIR/conf/internal.txt