Open eg321 opened 1 year ago
Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade
If it's still not working, please provide the log with --debug 2
, otherwise, nobody can help you.
@eg321 can you please tell which Plesk Edition you are using? It looks like Plesk has different behaviours in their editions: Web Host/Web Pro/Web Admin, see: https://www.plesk.com/editions/
You can find this information in your Plesk Admin Panel here: [Tools & Settings -> Plesk -> About Plesk] Please provide Version & Edition information. Thank you.
@lufi42 it's a shared hosting on reg.ru provider, so it's a definitely WEB HOST EDITION
. I don't have admin access, but it's a Plesk 18 "Obsidian" (I see <meta name="plesk-build" content="1800230428.12">
header).
I don't have other Plesk versions to check, but it's definitely strange that you request webspaces to get domains. Is it really returns also all domains on your version? or maybe it works, because you have only single domain in that webspace and they have same name?
Steps to reproduce
I'm using acme behind PFSense's Acme service. So my STR is simple:
Actual result
Operation failed with message: Are you sure that this domain is managed by this Plesk server? Error add txt for domain:_acme-challenge.yyy.com
Additional info
As I can see, there is incorrect call to Plesk API to get list of domains - it's trying to get list of webspaces instead of domains. Webspaces it's like "subscription" in Plesk term and can contain several domains inside. Webspace name is not website name in general case. It looks like it was broken by @lufi42 with that commit: a6b58bc88d390a21baf3cf457f3d3daba314222b I've reverted this specific commit and it's working for me again. @lufi42, can you check if your case can be fixed in other manner, not broking case described above please? Please let me know, if you need any additional information.
Debug log (i've replaced some domain names, usernames and other private info)