Yes. It has been installed correctly and everything was okay until today. When I found it replaced with Comodo once again.
This error occurs while executing download-certificate command. According to specification: https://github.com/porunov/acme_client/wiki/Command-reference
It should “Download previously generated certificates.” What purpose would this command have if the certificates are already stored locally? As I understand, it should just re-download my latest certificate files without actually renewing them.
There is a typo in the documentation, however. The command is not “download-certificates”, but “download-certificate”.
I suspect so, but I’m not sure.
When I run:
java -jar acme_client.jar --command download-certificate --newest-only -a /Documents/SSL/keypairs/AccountPrivate.key -w /Documents/SSL/workdir/ --cert-dir /Documents/SSL/cert/ --log-dir /Documents/SSL/logs/
I get an error in the log file:
ERROR com.jblur.acme_client.command.certificate.DownloadCertificatesCommand:27 - Can not download certificates. Either you haven’t generated one or they already expired.
When I run:
java -jar acme_client.jar -a /Documents/SSL/keypairs/AccountPrivate.key -w /Documents/SSL/workdir/ --command renew-certificate --cert-dir /Documents/SSL/cert/ --csr /Documents/SSL/csr/Domains.csr --log-dir /Documents/SSL/logs/
I get renewed certificate files in the /Documents/SSL/cert/ directory and no errors.
The renewed certificate is valid until AutoSSL replaces it with Comodo one. I have not checked if it is valid after the replacement because I don’t have the certificate files stored locally. And they are already overwritten with Comodo at server back-end. I can not download certificate files again because of an error, I can only renew them.
The only solution I see is to walk through the whole process once again, but save downloaded files and check if they are still valid after AutoSSL replaces them one more time. Or my hosting admins will turn off AutoSSL first.
How do you know it? How can I check if these certificates are valid or not?