diff options
author | Endi S. Dewata <edewata@redhat.com> | 2014-01-14 12:44:57 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2014-01-14 12:44:57 -0500 |
commit | 6c917d96cb5fb61680ebfe1cba3040dd4b38180d (patch) | |
tree | 797a0a784ab47b75022d9566007e5ccc6094bbd5 /scripts/tps-secret-list.sh | |
parent | 779c417a7d9590322a9cfe0060db605568e74af8 (diff) | |
download | pki-dev-6c917d96cb5fb61680ebfe1cba3040dd4b38180d.tar.gz pki-dev-6c917d96cb5fb61680ebfe1cba3040dd4b38180d.tar.xz pki-dev-6c917d96cb5fb61680ebfe1cba3040dd4b38180d.zip |
Updated TPS scripts.
Diffstat (limited to 'scripts/tps-secret-list.sh')
-rwxr-xr-x | scripts/tps-secret-list.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/tps-secret-list.sh b/scripts/tps-secret-list.sh new file mode 100755 index 0000000..334514c --- /dev/null +++ b/scripts/tps-secret-list.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +INSTANCE_DIR=/var/lib/pki-tps +grep "internal:" $INSTANCE_DIR/conf/password.conf | sed "s/internal://" > $INSTANCE_DIR/conf/internal.txt + +certutil -K -d $INSTANCE_DIR/alias -f $INSTANCE_DIR/conf/internal.txt + +tkstool -L -d $INSTANCE_DIR/alias -n sharedSecret -f $INSTANCE_DIR/conf/internal.txt -h all + |