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. https://crt.sh/?q=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:
I ran this command:
acme.sh -r -d usmcmta.org
It produced this output:
Add ‘–force’ to force to renew.
Return code: 2
My web server is (include version):
The operating system my web server runs on is (include version):
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):
Yes. Unknown version
I initially setup the certificate last October. I have to use acme.sh to administer the cert for my site. I have a cronjob setup to renew automatically.
The first time that I renewed, I think that I did it manually, just to make sure that it would work. Then I setup the cronjob and it failed. If memory service me correctly, it was because the script had been updated and whatever changed no longer allowed the version that I was using to work and caused the renewal to fail. I downloaded the updated script, re-ran the script and the cert was renewed.
The cert was set to expire at midnight. I checked it first thing this morning, and sure enough, it failed. A quick check of the logs only showed the following error:
BlockquoteAdd ‘–force’ to force to renew.
Return code: 2
I updated the script from github and reran the command manually on the command line. I received the same error. This time I added the “–force” to the command and the script ran just fine and the cert was renewed.
Is there a reason why I needed to add “–force”? Do I need to add that option to the cronjob to ensure that it’ll renew on the next renewal time?