diff options
author | Endi S. Dewata <edewata@redhat.com> | 2017-07-20 07:33:24 +0200 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2017-07-20 07:33:24 +0200 |
commit | 226d757ee6e52c6775c48e498fd2d7d1fab9a369 (patch) | |
tree | d56a149e15a6a9541264155041d64197e9204a67 /scripts/tks-secret-list.sh | |
parent | 4ef1422a303c035735afd84d98ee7baba325c2fa (diff) | |
download | pki-dev-226d757ee6e52c6775c48e498fd2d7d1fab9a369.tar.gz pki-dev-226d757ee6e52c6775c48e498fd2d7d1fab9a369.tar.xz pki-dev-226d757ee6e52c6775c48e498fd2d7d1fab9a369.zip |
Updated TKS scripts.
Diffstat (limited to 'scripts/tks-secret-list.sh')
-rwxr-xr-x | scripts/tks-secret-list.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/tks-secret-list.sh b/scripts/tks-secret-list.sh new file mode 100755 index 0000000..688eeb3 --- /dev/null +++ b/scripts/tks-secret-list.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +INSTANCE_DIR=/var/lib/pki/tks-master +grep "internal=" $INSTANCE_DIR/conf/password.conf | sed "s/internal=//" > $INSTANCE_DIR/conf/internal.txt + +echo certutil -K -d $INSTANCE_DIR/alias -f $INSTANCE_DIR/conf/internal.txt +certutil -K -d $INSTANCE_DIR/alias -f $INSTANCE_DIR/conf/internal.txt + +echo tkstool -L -d $INSTANCE_DIR/alias -n sharedSecret -f $INSTANCE_DIR/conf/internal.txt -h all +tkstool -L -d $INSTANCE_DIR/alias -n sharedSecret -f $INSTANCE_DIR/conf/internal.txt -h all + |