mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3688] [MERGED] feat: Add option to provide custom SSL certificate paths #5507
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#5507
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?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/3688
Author: @sviatoslav-gusev
Created: 1/21/2026
Status: ✅ Merged
Merged: 1/21/2026
Merged by: @MHSanaei
Base:
main← Head:feat/custom-ssl-support📝 Commits (1)
ddb3ffafeat: add option to use existing custom SSL certificates📊 Changes
2 files changed (+128 additions, -6 deletions)
View changed files
📝
install.sh(+63 -3)📝
update.sh(+65 -3)📄 Description
What is the pull request?
Description:
This PR adds a 3rd option to the SSL setup menu in both install.sh and update.sh.
Why:
Currently, the script forces ACME/Let's Encrypt generation. This is inconvenient for users who:
Such discussion detected: https://github.com/MHSanaei/3x-ui/issues/3676
Changes:
Added "Option 3: Custom SSL Certificate".
It prompts the user for .crt and .key file paths.
Includes validation (checks if file exists, is readable, and not empty).
Passes these paths directly to x-ui cert command without invoking acme.sh.
Which part of the application is affected by the change?
Type of Changes
Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.