Cannot Open Let'sEncrypt on cPanel

I installed Let's Encrypt on a new VPS as I'm switching hosting. I realized after the first failure that my license key was invalid as it was set for my previous server's old host name. I changed the domain in the license file and ensure it was set with the correct permission via chmod 400.

Produced this output:
From SSH:

[root@vps ~]# le-cp self-test
[SELF-TEST] Can read config ............ SUCCESS.
[SELF-TEST] Can connect to daemon and check licence ............ FAILED: Get dial tcp getsockopt: connection refused.
[SELF-TEST] Can connect to Let's Encrypt ............ SUCCESS.
[SELF-TEST] Can talk to WHM API ............ SUCCESS.
[SELF-TEST] Can talk to plugin RPC ............ SUCCESS.

The self-test failed. You should fix the above issues before continuing, or contact support @
2016/10/23 18:17:20 Self-test failed

From the cPnael Let'sEncrypt link:

There was a problem processing your request

Error checking licence status
Get dial tcp getsockopt: connection refused

My operating system is (include version):


My web server is (include version):

WHM/cPanel 58.0 (build 32)

My hosting provider, if applicable, is:


I can login to a root shell on my machine (yes or no, or I don't know):


Notes: I used instructions per,

I haven’t used that app, although cpanel do have their own official Let’s Encrypt client - which works well.

The error you are getting is reaching port 5959 on your own server. Is there a firewall or anything blocking it ? That port seems an odd port for cpanel as well. I think you’ll need to contact the developer of taht script at

1 Like

Problem Solved: I edited the license myself for the new domain name, but you actually resubmit for a new license for hostname changes. If you have changed host names, go to

Thanks for the advice!

1 Like

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