Skip to content

"Error encountered while running renew hook." "Return code: 1" #6918

@YANSA23

Description

@YANSA23

Set up via(the hook is correct as it worked when using --deploy-hook:

acme.sh --issue --dns dns_azure -d [FQDN] --days 1 --force --renew-hook panos

section in acem.sh.log:

[Sun Apr 19 01:30:04 AM EDT 2026] _on_issue_success
[Sun Apr 19 01:30:04 AM EDT 2026] Running renew hook: 'panos'
[Sun Apr 19 01:30:04 AM EDT 2026] Error encountered while running renew hook.
[Sun Apr 19 01:30:04 AM EDT 2026] Error calling hook.
[Sun Apr 19 01:30:04 AM EDT 2026] Return code: 1

FQDN.conf file:

Le_Domain='[FQDN]'
Le_Alt='no'
Le_Webroot='dns_azure'
Le_PreHook=''
Le_PostHook=''
Le_RenewHook='__ACME_BASE64__START_cGFub3M=_ACME_BASE64__END'
Le_API='https://acme-v02.api.letsencrypt.org/directory'
Le_Keylength='ec-256'
Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/3214831591/502169467921'
Le_LinkOrder='https://acme-v02.api.letsencrypt.org/acme/order/3214831591/502169467921'
Le_LinkCert='https://acme-v02.api.letsencrypt.org/acme/cert/0549b5c8fb250eff43066b458ea3c604f5ab'
Le_CertCreateTime='1776576604'
Le_CertCreateTimeStr='2026-04-19T05:30:04Z'
Le_RenewalDays='1'
Le_NextRenewTimeStr='2026-04-19T05:30:04Z'
Le_NextRenewTime='1776576604'
Le_DeployHook='panos,'
SAVED_PANOS_HOST='[base64 string decoded is correct]'
SAVED_PANOS_USER='[base64 string decoded is correct]'
SAVED_PANOS_PASS='[base64 string decoded is correct]'
SAVED_PANOS_CERTNAME='[base64 string decoded is correct]'
SAVED_PANOS_KEY='[base64 string decoded is correct]'

Not sure where else to check, the actual cert renewal is successful. the panos hook is correct and runs when using --deploy-hook. The only thing that looks maybe off is that the Le_RenewHook decoded is panos vs the Le-DeployHook is 'panos,' and those don't match in syntax, but both were passed in the same way on the issue command? Am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions