Webuzo Control Panel on CentOS 6 Not Able To Revoke Certificate

Hello,

I want to revoke a certificate but I receive this error in logs:

****************** Invoking Acme script ******************
expr: non-numeric argument
sed: -e expression #1, char 3: unexpected `,’
[Tue Apr 4 10:56:58 MSD 2017] Cert for mydomain.com is empty found, skip.
****************** Acme script finished execution ******************
[Tue Apr 4 01:56:58 2017] Acme script encountered some errors

Server: Apache, Centos 6, Webuzo panel.

hi @marcubogdan

when asking for help usually it’s a good idea to fill out the form as the questions are relevant

A) What client are you using
B) What was the command that you issued
C) How does Webuzo tie in to this particular issue?

Andrei

Hi @ahaw021

Thanks for info.

I introduced this command:

/usr/local/emps/bin/php /usr/local/webuzo/cli.php --lets_encrypt --action=revoke --domain=mydomain.com

And I received this error: Acme script encountered some errors

And the certificate is still there. (In Webuzo CP)

Centos 6, Webuzo Control Panel.

hi @marcubogdan

One of the challenges with LetsEncrypt is that providers such as Webuzo write their own plugins without documentation which explains functioning (Plesk also has this issue) or open source code for others to review

Their github doesn’t seem to have anything either: https://github.com/softaculous

http://www.webuzo.com/wiki/Lets_Encrypt is the only documentation I could find and it seems like your syntax is correct

The official client for LetsEncrypt is certbot and it’s code is easily reviewed

A list of clients can be found here: https://letsencrypt.org/docs/client-options/

So where to from here:

A) Can you view the contents of CLI.php? This may give you an idea of what the arguments should be
B) I am not a bash expert so can’t really advise on whether it’s the parameter or the script thats at fault
C) Try revoking the certificate from the web interface
D) Log a job with softaculous directly

Andrei

…and why are you trying to revoke the cert? It seems the vast majority of folks here who have revoked, or are trying to revoke, don’t need to.

1 Like

Thanks for your reply,

I changed again the url for my website in http:// and now all works fine. I’ll wait until this cert’ll expire and maybe than it’ll disappear… I think it’s no problem if is installed on server…I don’t use it any more.

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