diff options
-rwxr-xr-x | scripts/tps-clone-create.sh | 5 | ||||
-rwxr-xr-x | scripts/tps-clone-remove.sh | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts/tps-clone-create.sh b/scripts/tps-clone-create.sh new file mode 100755 index 0000000..8f273dd --- /dev/null +++ b/scripts/tps-clone-create.sh @@ -0,0 +1,5 @@ +#!/bin/sh -x + +/bin/cp tps_backup_keys.p12 /tmp + +pkispawn -vvv -f tps-clone.cfg -s TPS diff --git a/scripts/tps-clone-remove.sh b/scripts/tps-clone-remove.sh new file mode 100755 index 0000000..cb6b7e0 --- /dev/null +++ b/scripts/tps-clone-remove.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +SRC_DIR=`cd ../.. ; pwd` +INSTANCE_NAME=pki-clone + +pkidestroy -v -s TPS -i $INSTANCE_NAME |