Getting Error when trying to renew certifiacte

Url : member.piuk.ltd

I am trying to renew this from cPanel -> Let’s Encrypt

Error message:
“There was an error installing the certificate. Please Contact Support for more information”

Operating system CentOS 6.4 (64- bit) and the webserver is Apache 2.4

Hi I am trying to renew the Let’s Encrypt certificate but get the error above.

The CNAME settings on cloudflare for this subdomain are:
CNAME member is an alias of endpoint.mykajabi.com Automatic (orange cloud) X

Any ideas on how I go about renewing the certificate?

Thanks for any advice you can give.

See if cPanel has logs showing the real error message, or contact your hosting company's support.

If the Let's Encrypt staff have time, they may be able to find an error message in the server logs, but there's little the community can do without more information. :sweat:

I think the problem is because we are going through Cloudflare the dns records are not the ones of the host and they need to be before the Let’s Encrypt will install the certificate.

That shouldn't be a problem, unless the client is trying to use TLS-SNI-01 validation.

I don't know how the cPanel ACME client works. :sweat:

I am going to add an A record to the subdomain pointing to the host and then try to install certificate then.

What is TLS-SNI-01 validation mnordhoff?

Let's Encrypt supports 3 different mechanisms for demonstrating control of a domain in order to obtain a certificate. Two of them work with websites proxied by Cloudflare (orange cloud). The third is called TLS-SNI-01.

I don't know what cPanel does. :sweat:

You really need to get more information from your host.

tls-sni-01 challenges work by reconfiguring your webserver to respond to a specific SNI (server name) request. it applies a specific, temporary, self-signed certificate to this temporary server name that Let’s Encrypt expects to see when it initiates the TLS connection.

Thanks. It’s the host that has advised to changed A record.

So what is being said here is that the Let’s Encrypt WILL install certificate even if domain is going through cloudflare.

Does this shed any light on it?
All comments appreciated.

:::::Verify domain resolving for member.mydomain.ltd
Resolves OK
:::::Verify domain resolving for www.member.mydomain.ltd
Google said while cpanel says 77.104.171.189
:::::Removing old Let’s Encrypt certs for the same domain (if any)
:::::Calling Let’s encrypt
2017-10-09 00:26:07,046:INFO:letsencrypt.main:Saving debug log to /home/proper53/.letsencrypt/logs/letsencrypt.log
2017-10-09 00:26:08,863:INFO:letsencrypt.auth_handler:Performing the following challenges:
2017-10-09 00:26:08,863:INFO:letsencrypt.auth_handler:http-01 challenge for member.mydomain.ltd
2017-10-09 00:26:08,863:INFO:letsencrypt.plugins.webroot:Using the webroot path /home/proper53/public_html/member for all unmatched domains.
2017-10-09 00:26:08,871:INFO:letsencrypt.auth_handler:Waiting for verification…
2017-10-09 00:26:12,360:INFO:letsencrypt.reporter:Reporting to user: The following errors were reported by the server:

Domain: member.mydomain.ltd
Type: unauthorized
Detail: Invalid response from http://member.mydomain.ltd/.well-known/acme-challenge/4wH_-1fDyLITylwUL9LMHt49KT0FzkTh4xpS68NM7PQ: "

"

To fix these errors, please make sure that your domain name was entered correctly and the DNS A record(s) for that domain contain(s) the right IP address.
2017-10-09 00:26:12,360:INFO:letsencrypt.auth_handler:Cleaning up challenges
Failed authorization procedure. member.mydomain.ltd (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://member.mydomain.ltd/.well-known/acme-challenge/4wH_-1fDyLITylwUL9LMHt49KT0FzkTh4xpS68NM7PQ: "

" IMPORTANT NOTES: - The following errors were reported by the server:

Domain: member.mydomain.ltd
Type: unauthorized
Detail: Invalid response from http://member.mydomain.ltd/.well-known
/acme-challenge/4wH_-1fDyLITylwUL9LMHt49KT0FzkTh4xpS68NM7PQ:
"

"

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
STATUS:2:Let’s encrypt has failed

It does say that:

" To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address."

So I am guessing changing the A record is the right track.

Hi everyone,
Just to let you know I got the certificate installed by:

  • deleting the CNAME record (you might not already have one but remember the details for later)

  • adding an A record with the host server IP address.

  • Installing the “Let’s encrypt” certificate form cPanel -> let’s encrypt app.

  • Deleting the A record

  • Adding the CNAME record back

I installed a “service down” page at the subdomain so anyone coming to the site doesn’t just get a broken link while your changing things. It just a basic HTML page that says sorry but we’re doing some updates kind of thing but this method doesn’t take long at all

If this helps anyone then that’s great. It’s taken me days to sort this and lots of stress because the deadline is tomorrow.

Cheers!

You might want to work on a plan for renewals, because Let’s Encrypt certificates expire in 90 days!

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