summaryrefslogtreecommitdiffstats
path: root/scripts/tks-check-shared.sh
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-10-24 17:05:50 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2012-10-24 17:05:50 -0400
commit383fd01a5f2f0a8f3c0bbb16bba844de19024c27 (patch)
tree4809cdab34df0c727f9cfef65c7c9b9207e046d1 /scripts/tks-check-shared.sh
parent4ea7e49b03a2d815c7a088a87e8759e18053c441 (diff)
downloadpki-dev-383fd01a5f2f0a8f3c0bbb16bba844de19024c27.tar.gz
pki-dev-383fd01a5f2f0a8f3c0bbb16bba844de19024c27.tar.xz
pki-dev-383fd01a5f2f0a8f3c0bbb16bba844de19024c27.zip
Added more TKS scripts.
Diffstat (limited to 'scripts/tks-check-shared.sh')
-rwxr-xr-xscripts/tks-check-shared.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/tks-check-shared.sh b/scripts/tks-check-shared.sh
new file mode 100755
index 0000000..31a1231
--- /dev/null
+++ b/scripts/tks-check-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 -L -d $INSTANCE_DIR/alias -f $INSTANCE_DIR/conf/internal.txt