• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Let's encrypt not issuing SSL (authorisation token is not available)

mudassar

Basic Pleskian
Server operating system version
windows server 2022
Plesk version and microupdate number
obsidian 18.0.47
Hi,
So I was perfectly able to get SSL on my first few domains. However suddenly when I try and issue an SSL cert, plesk does not show me the Key to add to the DNS. It directly goes to the error
"The authorization token is not available at http://.co.uk/.well-known/acme-challenge/wosJEPZj_PIDgyjl71ogFlAEJOF3Ev-7WI9e3js-jKk.
To resolve the issue, make sure that the token file can be downloaded via the above URL."

When I take the key at the end of the URL and add it in my DNS, trying to be smart, when I click 'get it free' the error is back, but with a NEW key.

I am being set up to fail, it is asking for a key in the DNS that it hasn't even told me yet.

what is the resolution to this?
 
I'd assume that the domain is not routed to the webspace correctly. It will probably end up somewhere else. For that reason the acme-files cannot be read. Please check meticulously to which IP the domain resolves and if your web server is reacting correctly on the domain name, routing traffic into exactly that document root where you are trying to configure SSL.
 
You are correct in that up until yesterday the website was hosted on another Plesk server. However, the website runs an SPA and when I moved the domain over to this server it came up with an error until I correctly deployed the app. So it is definitely pointing in the right direction and working as needed.

To test this issue further, I have assigned the new server as the NS for another domain, which is now correctly working, however I receive the same issue when trying to issue an SSL cert.
 
I'd assume that the domain is not routed to the webspace correctly. It will probably end up somewhere else. For that reason the acme-files cannot be read. Please check meticulously to which IP the domain resolves and if your web server is reacting correctly on the domain name, routing traffic into exactly that document root where you are trying to configure SSL.
On your advise I decided to go through this all with a fine tooth comb.
The error says make sure that this file is downloadable:
http://DOMAIN.co.uk/.well-known/acme-challenge/f_WOX_GUztVW8yWkT2-714WALZuoDL2kCwI_tLbs_3U.

However in D:/Plesk/vhosts/domain/ there is no .well-known folder. So I am guessing this is the issue and needs resolving?
 
I think that is correct, because the .well-known directory is located as a virtual directory outside the domain directories. You should be able to see a configuration entry in the web server configuration of that domain. Also, regarding your initial post, have you maybe set-up your other domains with SSL wildcard certificates and only this one with a single-domain-certificate? It can make a difference in handling, because for wildcard certificates a key needs to be entered into DNS, but for single-domain-certs it does not, but uses a token file instead.
 
When I click 'SSL/TLS certificates' under 'Security' and then 'install free basic certificate prvided by let's encrypt' on the next page, I then select all of the boxes, including "
Secure the wildcard domain (including www and webmail)
*.Domain.co.uk"
 
To be honest with you, I have never added SSL certificates in any other way than adding the _acme-challange value in the DNS. So I am unsure of the process.
 
Hi there, please make sure you are selecting to issue a wildcard cert otherwise it will not give you the DNS entry to use.
 
Back
Top