Skip to content
Snippets Groups Projects
Commit aef6663b authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

fix revoke call; added example for debug parameter

parent 5b1e79d4
No related branches found
No related tags found
No related merge requests found
......@@ -330,12 +330,11 @@ function public_delete(){
# TODO: revoke it too??
_wd "--- revoke cert"
$ACME --revoke -d ${CM_fqdn}
$ACME --revoke -d ${CM_fqdn} $ACME_Params
_wd "--- delete ACME.SH data"
$ACME --remove -d ${CM_fqdn} $ACME_Params
_wd "--- delete local data"
rm -rf ${CM_dircerts} ${CM_filecnf} ${CM_filekey} ${CM_filecsr} ~/.acme.sh/${CM_fqdn}
rm -rf ${CM_dircerts} ${CM_filecnf} ${CM_filekey} ${CM_filecsr} ~/.acme.sh/${CM_fqdn} && echo OK
_update "deleted ${CM_fqdn}"
}
......
......@@ -29,6 +29,9 @@ export ACME=../acme.sh/acme.sh
# and testing purposes
# export ACME_Params="$ACME_Params --staging"
# activate debugging in acme.sh commands
# export ACME_Params="$ACME_Params --debug"
# where to write certificate data
# export CM_diracme="./certs"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment