diff options
Diffstat (limited to 'scripts/cert-remove-hold.sh')
-rwxr-xr-x | scripts/cert-remove-hold.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/cert-remove-hold.sh b/scripts/cert-remove-hold.sh new file mode 100755 index 0000000..466f883 --- /dev/null +++ b/scripts/cert-remove-hold.sh @@ -0,0 +1,21 @@ +#!/bin/sh +x + +. ./include.sh + +json="{ + \"method\": \"cert_remove_hold\", + \"params\": [ + [ $IPA_CERT_SN ], + { } + ], + \"id\":0 +}"\ + +curl\ + -H "Content-Type:application/json"\ + -H "Accept:applicaton/json"\ + --negotiate -u :\ + --cacert /etc/ipa/ca.crt\ + -d "$json"\ + -X POST\ + $IPA_JSON_URL |