summaryrefslogtreecommitdiffstats
path: root/scripts/subsystem-cmc-sign.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/subsystem-cmc-sign.sh')
-rwxr-xr-xscripts/subsystem-cmc-sign.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/scripts/subsystem-cmc-sign.sh b/scripts/subsystem-cmc-sign.sh
index eb74b7c..6332501 100755
--- a/scripts/subsystem-cmc-sign.sh
+++ b/scripts/subsystem-cmc-sign.sh
@@ -70,11 +70,9 @@ EOF
HttpClient tmp/subsystem-cmc-submit.cfg
-CMCResponse -d ~/.dogtag/nssdb -i tmp/subsystem-cmc-response.bin
+CMCResponse -d ~/.dogtag/nssdb -i tmp/subsystem-cmc-response.bin -o tmp/subsystem.crt
-BtoA tmp/subsystem-cmc-response.bin tmp/subsystem-cmc-response.b64
-echo "-----BEGIN PKCS7-----" > tmp/subsystem.crt
-cat tmp/subsystem-cmc-response.b64 >> tmp/subsystem.crt
-echo "-----END PKCS7-----" >> tmp/subsystem.crt
-
-pki cert-show --output tmp/external.crt 0x1
+#BtoA tmp/subsystem-cmc-response.bin tmp/subsystem-cmc-response.b64
+#echo "-----BEGIN PKCS7-----" > tmp/subsystem.crt
+#cat tmp/subsystem-cmc-response.b64 >> tmp/subsystem.crt
+#echo "-----END PKCS7-----" >> tmp/subsystem.crt