[GH-ISSUE #3676] SSL verification #2467

Closed
opened 2026-10-31 20:25:43 +07:00 by bsakaguchi · 7 comments
Owner

Originally created by @hogum on GitHub (Jan 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3676

I have installed nginx and occupied port 80, and used a script to generate the SSL certificate myself.

Describe the solution you'd like

Can SSL verification provide option file verification or not automatically generate a certificate? Because I have installed nginx and occupied port 80, and used a script to generate the SSL certificate myself.

Describe alternatives you've considered

No response

Checklist

  • This feature report is written entirely in English.
Originally created by @hogum on GitHub (Jan 15, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3676 ### Is your feature request related to a problem? I have installed nginx and occupied port 80, and used a script to generate the SSL certificate myself. ### Describe the solution you'd like Can SSL verification provide option file verification or not automatically generate a certificate? Because I have installed nginx and occupied port 80, and used a script to generate the SSL certificate myself. ### Describe alternatives you've considered _No response_ ### Checklist - [x] This feature report is written entirely in English.
bsakaguchi 2026-10-31 20:25:43 +07:00
Author
Owner

@hogum commented on GitHub (Jan 15, 2026):

Or just provide an option where I can enter the SSL certificate path.

<!-- gh-comment-id:3755061023 --> @hogum commented on GitHub (Jan 15, 2026): Or just provide an option where I can enter the SSL certificate path.
Author
Owner

@LydiaAgute commented on GitHub (Jan 20, 2026):

I encountered the same problem. I installed nginx reverse proxy and configured it to point to the x-ui service path, and the domain name already had a certificate configured. However, when updating x-ui, the process forced the setting of an SSL certificate, which couldn't be skipped, causing my website to become inaccessible after the update. I believe it's necessary to confirm whether an SSL certificate is required in the process beforehand, rather than forcibly requiring automatic installation.

<!-- gh-comment-id:3771441535 --> @LydiaAgute commented on GitHub (Jan 20, 2026): I encountered the same problem. I installed nginx reverse proxy and configured it to point to the x-ui service path, and the domain name already had a certificate configured. However, when updating x-ui, the process forced the setting of an SSL certificate, which couldn't be skipped, causing my website to become inaccessible after the update. I believe it's necessary to confirm whether an SSL certificate is required in the process beforehand, rather than forcibly requiring automatic installation.
Author
Owner

@sviatoslav-gusev commented on GitHub (Jan 21, 2026):

@hogum , @LydiaAgute implementation of your request is here: https://github.com/MHSanaei/3x-ui/pull/3688
Could you please test / validate?

<!-- gh-comment-id:3777253490 --> @sviatoslav-gusev commented on GitHub (Jan 21, 2026): @hogum , @LydiaAgute implementation of your request is here: https://github.com/MHSanaei/3x-ui/pull/3688 Could you please test / validate?
Author
Owner

@sviatoslav-gusev commented on GitHub (Jan 21, 2026):

Testing at my setup shows success of setting custom SSL-certificates via modified install.sh script.

success

UPD

Feature is merged and available via classic

bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)

<!-- gh-comment-id:3778252071 --> @sviatoslav-gusev commented on GitHub (Jan 21, 2026): Testing at my setup shows success of setting custom SSL-certificates via modified `install.sh` script. <img width="1312" height="342" alt="success" src="https://github.com/user-attachments/assets/96786ebb-ae7e-4186-b0a1-50e1499895da" /> ### UPD Feature is merged and available via classic ```bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh)```
Author
Owner

@jachaussloef commented on GitHub (Jan 24, 2026):

Just ignore that. Using nginx means you can use certbot --nginx

<!-- gh-comment-id:3794610677 --> @jachaussloef commented on GitHub (Jan 24, 2026): Just ignore that. Using nginx means you can use `certbot --nginx`
Author
Owner

@MartinKuo-XY commented on GitHub (Mar 20, 2026):

The domain name and path are set correctly, and the deployment is complete, but it cannot be accessed via domain/path.

<!-- gh-comment-id:4098065168 --> @MartinKuo-XY commented on GitHub (Mar 20, 2026): The domain name and path are set correctly, and the deployment is complete, but it cannot be accessed via domain/path.
Author
Owner

@sviatoslav-gusev commented on GitHub (Mar 20, 2026):

@MartinKuo-XY
Is your sert not timed out?
Check via:
openssl x509 -dates -subject -issuer -noout -in /path/to/domain.cert

<!-- gh-comment-id:4098226746 --> @sviatoslav-gusev commented on GitHub (Mar 20, 2026): @MartinKuo-XY Is your sert not timed out? Check via: `openssl x509 -dates -subject -issuer -noout -in /path/to/domain.cert`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2467
No description provided.