]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
Update CleverReach REST Endpoint
authorJan-Philipp Benecke <jpb@cleverreach.com>
Thu, 1 Oct 2020 09:26:29 +0000 (11:26 +0200)
committerJan-Philipp Benecke <jpb@cleverreach.com>
Thu, 1 Oct 2020 09:26:29 +0000 (11:26 +0200)
deploy/cleverreach.sh

index d212846b1b35c6cf872173725607990e9acc8a99..0fa07f4a833ef93489f4365359d214d0ca0d8578 100644 (file)
@@ -54,7 +54,7 @@ cleverreach_deploy() {
 
   _certData="{\"cert\":\"$(_json_encode <"$_cfullchain")\", \"key\":\"$(_json_encode <"$_ckey")\"}"
   export _H1="Authorization: Bearer ${_access_token}"
-  _add_cert_result="$(_post "$_certData" "https://rest.cleverreach.com/v3/ssl/${_cdomain}" "" "POST" "application/json")"
+  _add_cert_result="$(_post "$_certData" "https://rest.cleverreach.com/v3/ssl" "" "POST" "application/json")"
 
   _debug "Destroying token at CleverReach"
   _post "" "https://rest.cleverreach.com/v3/oauth/token.json" "" "DELETE" "application/json"