Acme.sh revoke problem


#1

I’m having issues revoking some certs I’ve previously issued and installed without issue with acme.sh

[root@domain1 ~]# acme.sh --revoke -d domain1.org -d blog.domain1.org -d blog.domain2.com -d domain2.com -d www.domain1.org -d www.domain2.com

[Mon Feb  4 14:28:02 GMT 2019] Cert for domain1.org /root/.acme.sh/domain1.org/domain1.org.cer is not found, skip.

The contents of the /root/.acme.sh/domain1.org/ directory is as follows.

[root@domain1 ~]# ll /root/.acme.sh/domain1.org/
total 28
drwxr-xr-x 2 root root 4096 Jan 16 18:26 backup
-rw-r--r-- 1 root root 1647 Jan 16 17:44 ca.cer
-rw-r--r-- 1 root root 3786 Jan 16 17:44 fullchain.cer
-rw-r--r-- 1 root root  766 Jan 31 13:21 domain1.org.conf
-rw-r--r-- 1 root root 1212 Jan 16 17:44 domain1.org.csr
-rw-r--r-- 1 root root  379 Jan 16 17:44 domain1.org.csr.conf
-rw-r--r-- 1 root root 1675 Jan 16 17:44 domain1.org.key

Help!!


#2

As you pointed out, the file it’s looking for can’t be found. Did you move the signed cert out of its folder at some point when you created it? If so, move a copy of it back in and you should be fine.

If the original file is gone, you can also re-create it from the fullchain.cer file. Just copy the first certificate block out of that file into a new file called domain1.org.cer in that same folder.


#3

You are revoking using domain names.
Try revoking using cert names.

To see the list of certs:
acme.sh --list


closed #4

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