"acme.sh --list" shows incorrect date

Good morning

When I run
/root/.acme.sh/acme.sh --list
I get
Main_Domain KeyLength SAN_Domains Created Renew
mymail.biblesociety.co.za “” no Thu Jun 4 11:30:19 UTC 2020 Mon Aug 3 11:30:19 UTC 2020
But checking the CERT on my browser I get:
Valid from 2020-06-04 to 2020-09-02

What am I doing wrong?

My domain is:
I ran this command:
/root/.acme.sh/acme.sh --list
It produced this output:
mymail.biblesociety.co.za “” no Thu Jun 4 11:30:19 UTC 2020 Mon Aug 3 11:30:19 UTC 2020
My web server is (include version):
The operating system my web server runs on is (include version):
Centos 7
My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 1.6.0

1 Like

Not sure about the date, but if I look at the time, it seems you’ve got two certificates issued, right after each other:


If you’re using certbot, why are you also running acme.sh commands?

1 Like

Hi Chris
This is the initial CERT that was issued. I believe it was run (if I recall) in a test environment and then to check my script to re-generate. At the time, I did not know about the “staging” switch.

That said, the reason I run acme is because I am running in two environments on the same server. The one does not know about the other and I found acme does the trick for me. (If I recall, I also installed certbot in an initial test stage and left it because it is not doing any harm)

Back to my question. WHY is the --list switch showing the CER to be outdated, but the web not?

1 Like

This is the correct creation date.

This is not the correct expiration date, and acme.sh never said it was. Read carefully:

It’s just the date after which acme.sh will automatically renew the certificate. (60 days, not 90)

If you want the expiration date just use:
openssl x509 -noout -dates -in /path/to/certificate.pem


Good catch! Didn’t see that one…


And it’s user-configurable: https://github.com/acmesh-official/acme.sh/wiki/Options-and-Params

        Specifies the days to renew the cert when using '--issue' command.
        The default value is 60 days.
1 Like

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