letsencrypt icon indicating copy to clipboard operation
letsencrypt copied to clipboard

UAPI access to cPanel is not available

Open nipunadodan opened this issue 4 years ago • 1 comments

I have no ssh access to my shared server so I have put it on a corn job and when it runs, it sends me an error as mentioned above. I do have the cPanel UAPI token with me but I have no clue where to put it on your solution. Can you please shed some light on this?

nipunadodan avatar Apr 01 '21 06:04 nipunadodan

This error is displayed when the uapi command is not available in the environment where the script executes. In principle uapi token is not required, because the script should be running on the same machine.

I'd try checking with your hosting if they support uapi and if so how it could be enabled and/or used. If you get uapi to work manually, but the script is still unable to access it, you may probably patch this part of code:

https://github.com/imbrish/letsencrypt/blob/f3bb1970b5789984cfca6ed3e060125a15c58fd8/bin/letsencrypt#L80-L85

imbrish avatar Apr 03 '21 15:04 imbrish