I was keen to check the Openprovider.com support in the latest Acme.sh plugin (V4.18), but it failed each time. This is in OPNsense 26.7.9.
The fix is to add "return 0" at the end of _openprovider_prepare_credentials() in /usr/local/share/examples/acme.sh/dnsapi/dns_openprovider_rest.sh:
I have opened an issue on github: https://github.com/acmesh-official/acme.sh/issues/7409
Ben
The fix is to add "return 0" at the end of _openprovider_prepare_credentials() in /usr/local/share/examples/acme.sh/dnsapi/dns_openprovider_rest.sh:
Code Select
_openprovider_prepare_credentials() {
OPENPROVIDER_REST_USERNAME="${OPENPROVIDER_REST_USERNAME:-$(_readaccountconf_mutable OPENPROVIDER_REST_USERNAME)}"
OPENPROVIDER_REST_PASSWORD="${OPENPROVIDER_REST_PASSWORD:-$(_readaccountconf_mutable OPENPROVIDER_REST_PASSWORD)}"
if [ -z "$OPENPROVIDER_REST_USERNAME" ] || [ -z "$OPENPROVIDER_REST_PASSWORD" ]; then
OPENPROVIDER_REST_USERNAME=""
OPENPROVIDER_REST_PASSWORD=""
_err "You didn't specify the Openprovider username or password yet."
return 1
fi
#save the credentials to the account conf file.
_saveaccountconf_mutable OPENPROVIDER_REST_USERNAME "$OPENPROVIDER_REST_USERNAME"
_saveaccountconf_mutable OPENPROVIDER_REST_PASSWORD "$OPENPROVIDER_REST_PASSWORD"
return 0
}
I have opened an issue on github: https://github.com/acmesh-official/acme.sh/issues/7409
Ben
"