Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
The article provides general troubleshooting steps for errors that may be shown during a Let's Encrypt certificate installation using the Let's Encrypt Plesk extension.
Troubleshooting Steps
Notes: This guide is intended for Plesk Onyx 17.5 and later versions.
If you are a domain owner, please contact your service provider for assistance with a Let's Encrypt certificate installation.
Make sure that the website resolves globally from the Internet to the same IPv4 (and IPv6, if configured on a domain registrar side) address that is set in Plesk at Domains > example.com > Web Hosting Access.
To find the global website's IP address:
-
use any online tool (for example, MxToolbox DNS Lookup for IPv4 and MxToolbox DNS Lookup IPv6 for IPv6
-
use Google DNS and the 'nslookup' utility in a command prompt of your PC/Mac:
MYSQL_LIN: nslookup <domain_name> dns.google
If the IP addresses in Plesk differs from the global IP address on the Internet, apply one of the following solutions:
-
change the IP address, to which the domain resolves globally, at Domains > example.com > Web Hosting Access.
Note: If the domain is not using IPv6, make sure that IPv6 address is set to None and there are no IPv6 DNS records at Domains > example.com > DNS Settings. If such IPv6 records exist, remove them.
-
change the IP address on a domain registrar side to the one that is specified in Plesk.
Once you have verified that the IP addresses match:
2.1. Website availability
Make sure that the website is accessible and browsable from the Internet (no 4xx and 5xx errors). If the website is showing a default Plesk page, create a test.txt file at Domains > example.com > File Manager and put some text into it. Then open this file in a web-browser at example.com/test.txt and make sure it is accessible from the Internet. If the file is not accessible, check website's configuration.
2.2. Additional steps for Plesk on Windows Server (if Plesk is installed on Linux, move to step 3)
2.2.1. Go to Domains > example.com > IIS Settings and disable the option Require SSL/TLS.
2.2.2. Go to Domains > example.com > File Manager and:
-
disable custom rewrite rules in
web.config
, if there are any. -
disable Microsoft ASP support and Microsoft ASP.NET support at Domains > example.com > Hosting Settings.
-
create a test.txt file in the
\.well-known\acme-challenge\
folder (where Let's Encrypt stores its temporary files) and put some text into it. Then open this file in a web-browser at http://example.com/.well-known/acme-challenge/test.txt and make sure it is accessible from the Internet over HTTP without www prefix. If the file is not accessible, check website's configuration.
2.2.3 If SSL cannot be issued for the hostname, make sure the Default Web Site is started in IIS.
If the domain has been migrated from legacy Plesk versions, make sure that the Run the website in compatibility mode for the legacy option "Separate SSL/TLS and non-SSL/TLS content" option is not enabled at Domains > example.com > Hosting Settings.
Comments
31 comments
Helpful
You can also create a link from httpsdocs/.well-known to httpdocs/.well-known and keep option 'Run the website in compatibility mode for the legacy option "Separate SSL/TLS and non-SSL/TLS content"' enabled. This solved issue "The authorization token is not available at https://domain.tld/.well-known/acme-challenge/*** . To resolve the issue, make it is possible to download the token file via the above URL.".
We also had a problem renewing the Let's Encrypt certificates. This was because we where having a URL rewrite rule that automatically redirected all requests from HTTP to HTTPS, As written above "Let's Encrypt creates temporary files in the depths of the domain's document root in order to create a certificate and verify that you own this domain". This temporary folder is named ".well-known". We excluded this folder from the rewrite rule, now Plesk Let's Encrypt extension is working properly. So add an exclude and it will work, you don't need to use all suggestions ass written above.
@QiQQ correct. the same is briefly described in 6 step
@.
Hello there,
Thanks for sharing a feedback.
Also doesn't work if Docker Proxy rules are setup. Unfortunately this breaks the auto-renewal. Would be nice to see alternative authentication methods supported (i.e. DNS)
@Moritz Kornher
Thank you for sharing such case.
Features regarding Let's Encrypt may be suggested here at Let's Encrypt official website.
Hi @Ivan
I trust you already know that let's encrypt supports a DNS challenge and that in fact DNS-01 is the only way to validate wildcard domains.
So just to be clear, this is a let's encrypt feature that is already available but the Plesk plugin does not support.
@Moritz Kornher
Yes, indeed, Let's Encrypt wildcard certificates are issued using DNS challenge.
This feature will be released in future updates of Let's Encrypt extension. Plesk developers are working on update.
All suggestions about additional required Plesk functionality may be left here.
These resolutions did not fix my problems (400 error). I've accomplished everything from this page.
I have 3 other domains protected using the LetsEncrypt cert plugin, so I know it works, I just cannot find the issue with this domain. I also tried a CloudFlare SSL and that also shows that it's not valid. I've renamed the .htaccess, I've remmed the rewrite rules within Plesk - seriously everything I can find.
If anyone else has any other potential fixes, I'm all ears.
Also at the top of this article it says only 6 attempts per week - I've read other places that it's 5 attempts per hour. Which is true?
@Douglas Kelly,
Hello! If this article did not help and there is no other article in our Knowledgebase which may help you, I can suggest contacting Plesk support according to the following article: https://support.plesk.com/hc/en-us/articles/213608509
Hello,
when I want to issue the ssl for just a domain the following error is shown:
Error: Could not issue a Let's Encrypt SSL/TLS certificate for mydomain.com.
Details
Invalid response from https://acme-v02.api.letsencrypt.org/acme/challenge/82wRRjsp4gIjvsvzsCnDdRJg2ZU9pPMu0jl49-7J73k/17801667041.
Details:
Type: urn:ietf:params:acme:error:unauthorized
Status: 403
Detail: User account ID doesn't match account ID in authorization
other domains have not any problem and ssl is issued as well. just for a domain I have this problem.
How can I solve this issue?
Hello @SE,
The issue should be on Let's Encrypt databases side but we have a solution.
1. Connect to the server via SSH
2. Find the corresponding JSON files using the following commands. Use actual domain name and issuer email address:
# grep -r "john_doe@example.com" /usr/local/psa/var/modules/letsencrypt/registrations
# grep -r "example.com" /usr/local/psa/var/modules/letsencrypt/orders
3. Remove the json files founded on step 2
4. Install Let's Encrypt certificate
Hello @Vladimir Chernikov
Thank you for your solution but my server is windows.
I finally solved the issue :)
thanks to @Vladimir Chernikov
1- go to the the following path:
C:\Program Files (x86)\Plesk\var\modules\letsencrypt\orders
2- Find the file that includes your domain log. you can note to modify date to find that.
3- Remove the file you founded in step2.
4- Install let's Encrypt certificate again.
Hi @SE,
Thank you for letting us know.
This information may be useful for Pleskians.
Hello,
Even though SSL is disabled under Hosting Settings, Certificate: Not selected and SSL certificate Let's Encrypt is deleted, but many errors can still be seen in panel.log: Invalid response from http://xxx.com/.well-known/acme -challenge/cceIRPm...
Why does Plesk still try to renew or enable certificates even though everything is disabled with SSL and Let's Encrypt is no longer installed for xxx.com domain?
Thousands of files are in a few days / weeks, in the directory /acme-challenge/.
this is unnecessary disk space and resource allocations.
@Gjimi
Please refer to the following article: https://support.plesk.com/hc/en-us/articles/115004383334-Let-s-Encrypt-notification-are-still-sent-after-a-domain-was-deleted
@Vladimir Chernikov should have his answer added to the top... thank you!!
Hi guys,
I just installed the latest 18.0.23 Onyx and it said that:
Webmail for domains with no physical hosting can now be secured with SSL/TLS certificates.
I have a few few domains where we host email only however the website is with WIX or another provider. I've tried everything to try and secure webmail + mail but for some reason it's still trying to add the let's encrypt for the main domain? I've made sure that hosting type is set to no hosting. Is this a bug or am I doing something wrong? It'd be nice to be able to set up let's encrypt so clients can use mail.domainname.tld for their incoming/outgoing server.
Could not issue an SSL/TLS certificate for domain.tld
Details
Go to http://domain.tld/.well-known/acme-challenge/ANhoQQFCixWeUioV4I6irmluL_yJfU_9OLh6Brr7cH8
and сheck if the authorization token is available.
If it is, try to request the certificate again. If the token is not available, there may be an issue with your DNS configuration.
Your domain in Plesk is hosted on the IP address(es): x.x.x.x, but the DNS challenge used another IP: y.y.y.y.
Make sure that the IP address(es) specified in the domain's DNS zone match the IP address(es) the domain is hosted on.
If it does not help or if you cannot find an issue with your DNS configuration, use this KB article for troubleshooting.
Cheers, Mike
@Mike Manning
Hi,
The feature introduced in Plesk Obsidian 18.0.23 to which you are referring means that it is now possible to assign an SSL certificate to a webmail on a domain in Plesk without hosting. In other words, it is now possible to upload your own certificate for domains without hosting and then assign them to webmail.
This feature does not mean that it is now possible to issue a Let's Encrypt certificate for a domain without hosting, it is yet to be implemented.
Hi, When i try to generate new ssl through Let's Encrypt I am getting the following error
Error: Unable to secure any of component for mydomain.com due to configuration of the domain
Can any one help me to know the problem and generate new SSL.
It is probably best to open a support ticket/request. You will likely need to provide a lot more information such as logs, what you are actually seeing, how you are setup, etc. This is not really the discussion board for such a thing.
Hello there, can anyone help me with this please?
Could not issue an SSL/TLS certificate for xxxx.com
Details
The authorization token is not available at http://xxxx.com/.well-known/acme-challenge/w1IDLyPp_E0ygNIubcNmdutnVT0fZ5tiKGuxEwYpyTU.
To resolve the issue, make sure that the token file can be downloaded via the above URL.
Hello all
How can a reseller or customer plesk account see the error message when let's encrypt certificate manual setup was not working.
we see the error message inside plesk as an administrator but the customer or reseller should see it. how to achieve that?
nave - if you haven't found the solution yet... it looks like it is a DNS issue. You need to create that TXT entry in your DNS setup.
didnt resolve issue and support are impossible to get hold of
Since today, we cannot get out let's encrypt certificates renewed, with the error:
The authorization token is not available at OURDOMAIN/.well-known/acme-challenge/yk58O0t1yTofOm2lIQpHpAt10_nokWJrWQ3P-M04fKI.
To resolve the issue, make sure that the token file can be downloaded via the above URL.
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/13823248608.
Invalid response from https://acme-v02.api.letsencrypt.org/acme/authz-v3/13815886742.
Details:
Type: urn:ietf:params:acme:error:unauthorized
Status: 403
Detail: Invalid response from https://OURDOMAIN/.well-known/acme-challenge/yk58O0t1yTofOm2lIQpHpAt10_nokWJrWQ3P-M04fKI.[xxx.xxx.xxx.xxx]: "<HTML>\n<HEAD>\n<TITLE>404 Not Found</TITLE>\n</HEAD>\n<BODY>\n<H1>Page Not Found</H1>\n<p>Sorry...</p"
The issue is that the challenge file is not created, so it does not exist when it is requested.
We have not made any recent change on your system nor on our DNS. I checked that the directory OURDOMAIN/.well-known/acme-challenge/ exists
How can we fix this issue?
Since last few days, ive been getting the same error as Tristan Savatier and also this error

My Plesk doesn't give the option to change IP addresses in Web Hosting Access.
Please sign in to leave a comment.