mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4968] [Question]: cannot get ssl cert #3489
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3489
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nicolas-ncc on GitHub (Jun 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4968
What are you trying to do?
I using buildin Cloudflare SSL Certificate option to get ssl cert but failed.
Can some brother help??
What have you already tried?
No response
3x-ui version
latest
How did you install 3x-ui?
install.sh script
Operating system
Debian 13
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Jun 5, 2026):
Thanks for reporting. To help diagnose the failure, we need the actual error output — the screenshot in the issue is too small to read.
Option 20 (Cloudflare SSL) works by calling acme.sh with Cloudflare DNS validation. The key command it runs is:
The most common reasons this fails:
Wrong API Token permissions — if you chose API Token (option
t), the token must have the Zone → DNS → Edit permission for the target zone. A read-only or overly-scoped token will be rejected by Cloudflare.Domain not managed by Cloudflare DNS — the domain must be using Cloudflare as its nameserver, not just proxied. If you registered the domain elsewhere and haven't delegated the NS records to Cloudflare, DNS validation cannot work.
Global API Key path — if you chose
g, you need the Global API Key (found in My Profile → API Tokens → Global API Key) and the account email, not an API token.To get the full error, please run:
and paste the relevant lines here (especially anything near
CF_Token,dns_cf, orerror).Also please share:
t) or Global API Key (g)@nicolas-ncc commented on GitHub (Jun 5, 2026):
done, many thanks