Acme.sh Not Invoking renewal hook

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:myrevtel.com

I ran this command:37 0 * * * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null

It produced this output:

My web server is (include version):apache2 (httpd)

The operating system my web server runs on is (include version): Linux Centos 7

My hosting provider, if applicable, is: AWS EC2

I can login to a root shell on my machine (yes or no, or I don't know):Yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
No!
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): Acme.sh v2

I can successfully receive a renewal certificate. However, I am unable to execute:
Le_RenewHook='__ACME_BASE64__START_L3Jvb3QvLmFjaG1lLnNoL215cmV2dGVsLmNvbS9jb3B5Y2VydHMuc2g=_ACME_BASE64__END' in my /myrevtel.com.conf

The above BASE64 translates to : /root/.acme.sh/myrevtel.com/copycerts.sh

The script from the LE_RenewHook is never executed when a renewal certificate is issued.

Thanks!

1 Like

Hi @Anointed

check

Same question.

Hello @Anointed,

I'm afraid it doesn't ;), it translates to:

/root/.achme.sh/myrevtel.com/copycerts.sh

Seems you mistyped the dir: .achme.sh instead of .acme.sh

You can edit your conf file and change this:

Le_RenewHook='__ACME_BASE64__START_L3Jvb3QvLmFjaG1lLnNoL215cmV2dGVsLmNvbS9jb3B5Y2VydHMuc2g=_ACME_BASE64__END'

to this:

Le_RenewHook='__ACME_BASE64__START_L3Jvb3QvLmFjbWUuc2gvbXlyZXZ0ZWwuY29tL2NvcHljZXJ0cy5zaA==__ACME_BASE64__END_'

Cheers,
sahsanu

5 Likes

Eyes of a super-hero hawk! :heart:
[can see directly through Base64 encoding!]

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.