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 http://127.0.0.1:5959/check-licence: dial tcp 127.0.0.1:5959: 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 @ https://letsencrypt-for-cpanel.com/contact
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 http://127.0.0.1:5959/check-licence: dial tcp 127.0.0.1:5959: getsockopt: connection refused

My operating system is (include version):

centos-release-6-8.el6.centos.12.3.x86_64

My web server is (include version):

WHM/cPanel 58.0 (build 32)

My hosting provider, if applicable, is:

Vultr

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

Yes

Notes: I used instructions per, https://letsencrypt-for-cpanel.com/docs/for-admins/installation/.

I haven’t used that app, although cpanel do have their own official Let’s Encrypt client - https://blog.cpanel.com/announcing-cpanel-whms-official-lets-encrypt-with-autossl-plugin/ 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 letsencrypt-for-cpanel.com/contact

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 https://letsencrypt-for-cpanel.com/reissue-licence.

Thanks for the advice!

1 Like

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