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/kra_storage-cmc-sign.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'scripts/kra_storage-cmc-sign.sh') diff --git a/scripts/kra_storage-cmc-sign.sh b/scripts/kra_storage-cmc-sign.sh index c8af179..298e390 100755 --- a/scripts/kra_storage-cmc-sign.sh +++ b/scripts/kra_storage-cmc-sign.sh @@ -70,11 +70,9 @@ EOF HttpClient tmp/kra_storage-cmc-submit.cfg -CMCResponse -d ~/.dogtag/nssdb -i tmp/kra_storage-cmc-response.bin +CMCResponse -d ~/.dogtag/nssdb -i tmp/kra_storage-cmc-response.bin -o tmp/kra_storage.crt -BtoA tmp/kra_storage-cmc-response.bin tmp/kra_storage-cmc-response.b64 -echo "-----BEGIN PKCS7-----" > tmp/kra_storage.crt -cat tmp/kra_storage-cmc-response.b64 >> tmp/kra_storage.crt -echo "-----END PKCS7-----" >> tmp/kra_storage.crt - -pki cert-show --output tmp/external.crt 0x1 +#BtoA tmp/kra_storage-cmc-response.bin tmp/kra_storage-cmc-response.b64 +#echo "-----BEGIN PKCS7-----" > tmp/kra_storage.crt +#cat tmp/kra_storage-cmc-response.b64 >> tmp/kra_storage.crt +#echo "-----END PKCS7-----" >> tmp/kra_storage.crt -- cgit