From 269b0397dc7cd5a74c79223e215c42829d025dfa Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 14 Sep 2017 16:19:45 +0200 Subject: Updated CMC scripts. --- scripts/subsystem-cmc-sign.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'scripts/subsystem-cmc-sign.sh') 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 -- cgit