• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Let's Encrypt : how to retrieve the DNS acme-challenge BEFORE it executes the certificate request

kizzamp1337

New Pleskian
Hi

I am having the current case where I am migrating a bunch of domains from another webhost to my brand new Plesk server.

Now, when starting the Let's Encrypt process, sometimes it does this through DNS, and sometimes through a file in .well-known/acme-challenge.

To start off, when does it choose either? Because I am unable to choose this myself. Most likely when I do a nameserver swap, and the Plesk server itself notices that the nameservers are pointed to end up in its own Plesk machine, it thinks "oh let's do it through the DNS-record this time".
When this is the case, I can just take the acme-challenge that it's asking me to add to the DNS (which it of course does in its own zone) so i can put it on the OLD dns zone on the OLD nameservers, which makes sure that the certificate will already be generated.

Currently, this is not the case, causing Plesk to start the certificate request by placing a file in .well-known/acme-challenge/
Of course, Let's Encrypt can not yet resolve to this, as the nameservers might not have propagated.

A work-around would be to know what the acme-challenge for DNS is, manually add it to the OLD dns zone of the OLD nameservers, causing it to be validated before all root DNS servers propagated to use the new namservers.

I initially tried it by using the "error message" acme-challenge and placing it in .well-known/acme-challenge/ on the OLD ftp, however that doesn't work as every time I try to request the certificate, it generates a new acme-challenge..

Does anybody have any idea on how I could overcome this issue?

Thanks in advance!
 
Back
Top