• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Lets Encrypt renewal - wildcard seems to want to use http challenge

TomBoB

Regular Pleskian
Server operating system version
AlmaLinux 8.8 latest updates
Plesk version and microupdate number
Version 18.0.56 Update #1
Need help to pinpoint a Lets Encrypt renewal issue.

Please have a look at the image.

Trying to renew using a wildcard cert. Wildcard was not used prior.

Plesk in charge of DNS. A and AAAA records for website and mail are correct and point at the Plesk servers public IPv4 / IPv6. The new CloudFlare extension syncs DNS records (none proxied) to CF name server. That part also works. Domain registry points at the CF name servers.

In my understanding Plesk shoudl create an _acme record for the cert, which is then added to Plesk DNS, which then syncs it to CF name server. That creating of the _acme doesn't happen. Instead it seems to be using the HTTP challenge.

I cannot figure out where the issue may lie. Seem to be missing something.

To me the error message indicates it is still using HTTP challenge instead of DNS challenge to validate.

Any help greatly appreciated.
 

Attachments

  • lets encrypt renewal issue.jpg
    lets encrypt renewal issue.jpg
    186.2 KB · Views: 9
The HTTP challenge is still required, next to the DNS challenge, for issuing (and renewing) wildcard certificates. If I am not mistaken (but I might be wrong on this) the HTTP challenge is performed frist, followed by the DNS challenge.
 
SOLUTION - without finding the actual root cause.

Quadruple checked that the name resolution works, for both IPv4 and IPv6. Fine.
Quadruple checked that the token file can be opened in a browser. Fine.
Quadruple checked permissions. Fine.
Checked all the config files I could find. Apparently Fine. Cross-checked with other servers as well.

Removed and reinstalled Lets Enrypt and SSL IT. Same problem.

All other servers, no issue. Just on this one specific server, this problem happens. To all domains. Including the server cert for the FQDN of the server.

Running out of ideas, I eventually decided to completely restart the server.
That did the trick !! All domains can get certs again. Both via HTTP and via DNS challenge.

Can't tell the root cause. But some service deep inside Plesk seemed to have hung itself.
 
Back
Top