Author Topic: Letsencrypt not installing migrated cpanel accounts  (Read 8947 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Letsencrypt not installing migrated cpanel accounts
« on: March 02, 2017, 11:40:14 PM »
Cannot get Letsencrypt to install certificate on any account migrated from cpanel. No issues with domains/accounts created in CWP.

I get error message like:

Code: [Select]
Failed authorization procedure. domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://domain.com/.well-known/acme-challenge/r2L_Ca0Yxv7lo1XXXmF1s6jwbrnrfiSiD2abyLhtpAI: "
Running CWPpro version: 0.9.8.153 with CentOS6

Have fixed permissions and even deleted the .well-known dir with no luck.

Any ideas?

Thanks in advance.

Offline
*
Re: Letsencrypt not installing migrated cpanel accounts
« Reply #1 on: March 03, 2017, 01:59:47 PM »
My recommendation is not use cPanel migrate function if you wish to have working Letsencrypt on those accounts.

You are better off manually transferring cPanel accounts. The migration function works but I would consider it beta at best. Trying to get any help or advice cost, which is fine but seems like admin would want the function working...

Only thing I can get out of support is:

---
the issue related to redirection. We will be happy to assist you but unfortunately you don't have an active support service or your support service has expired.

For more detailed check of your server and services configuration issues you can check our Support services.
Each configuration changes or issue which requires free time for resolving will need to be done via our Support services.

Support orders are usually approved within 24 hours, once the order is approved you will be able to use our support tickets.
---

I manually added cpanel account by simply decompressing into site public_html folder. Then setup mySQL, imported database via phpmyadmin. Had to of course fix permissions and site working fine. Then installed letsencrypt without any issues at all. Just do not use the migration function, it causes issues.
« Last Edit: March 03, 2017, 02:06:18 PM by oleteacher »

Offline
*
Re: Letsencrypt not installing migrated cpanel accounts
« Reply #2 on: March 04, 2017, 09:36:36 AM »
Cannot get Letsencrypt to install certificate on any account migrated from cpanel. No issues with domains/accounts created in CWP.

I get error message like:

Code: [Select]
Failed authorization procedure. domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://domain.com/.well-known/acme-challenge/r2L_Ca0Yxv7lo1XXXmF1s6jwbrnrfiSiD2abyLhtpAI: "
Running CWPpro version: 0.9.8.153 with CentOS6

Have fixed permissions and even deleted the .well-known dir with no luck.

Any ideas?

Thanks in advance.

login to your server via ssh and do:

chown -R username:nobody /home/username/

Try again after that

The error u get is that the LE tool cant write in that directory, or the domain is not resolving.
I do asume that http://domain.com/.well-known/acme-challenge/r2L_Ca0Yxv7lo1XXXmF1s6jwbrnrfiSiD2abyLhtpAI

is not really domain.com

Offline
*
Re: Letsencrypt not installing migrated cpanel accounts
« Reply #3 on: March 04, 2017, 02:26:30 PM »
Thank you for info @martexx!

I will try that when using cpanel migrate next time. Have been moving manually without any more issues but that is a pain.

Yes you are correct, domain.com is not the real domain. See no need for trollers to have my info.
« Last Edit: March 04, 2017, 03:00:05 PM by oleteacher »