mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #1932] Security Alert This connection is not secure. Please avoid entering sensitive information until TLS is activated for data protection. What is it and how to fix it? #1317
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#1317
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 @Avaisov on GitHub (Feb 27, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1932
Welcome
Description of the problem,screencshot would be good
Security Alert This connection is not secure. Please avoid entering sensitive information until TLS is activated for data protection. What is it and how to fix it?

Version of 3x-ui
x-ui log reports or xray log
@AsunaYukky commented on GitHub (Feb 27, 2024):
@Avaisov
Thats cause you use http connection to webpanel, not https.
If you have domain connected to server you just need to create ssl certificate from letsencrypt using 3x-ui bash menu. If you do not have a domain (use only ip address) - you can create self-signed certificate. I wrote an instruction in wiki, how to do this. https://github.com/MHSanaei/3x-ui/wiki/How-to-create-self%E2%80%90signed-SSL-certificate-for-3X%E2%80%90UI-webpanel-(also-if-you-don't-use-domains)
@MHSanaei may be you can add this link to readme.md, cause I think that after update to 2.2 it will be many questions about this.
@Avaisov commented on GitHub (Feb 27, 2024):
@AsunaYukky Thanks a lot for the answer and instructions, I will try. Can you tell me if the lack of a certificate has a strong impact on security and performance?
@AsunaYukky commented on GitHub (Feb 27, 2024):
@Avaisov when you use http connection to webpanel - your traffic is not encoding, and everybody between you and server can see all the data, that you put in fields (like login - pass), and all the data, that webpanel gives to you (like qr codes, subscription, etc..). https solves this problem.
@Avaisov commented on GitHub (Feb 28, 2024):
@AsunaYukky
Can you tell me why I can't fix the problem?
I go to the terminal command prompt (macos)
I log in to the server via the ssh@ my ip command
Entering the commands
cd /usr/local/x-ui mkdir ssl-srt cd ssl-srt openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650
94.131.110.201
openssl rsa -in key.pem -out key.un.pem -passin pass:my password
Then I go into the panel and type
in /us/local/x-ui/ssl-srt/cert.pem
/usr/local/x-ui/ssl-srt/key.un.pem
but I can't save and reload the panel, I'm taking off the screenshot

I check I have files in directory
root@. :~# cd /usr/local/x-ui/ssl-srt/
root@v :/usr/local/x-ui/ssl-srt# ls .
cert.pem key.pem key.un.pem
@AsunaYukky commented on GitHub (Feb 28, 2024):
@Avaisov
Wrong way man. You wrote /us/... , but must be /usr/... at Public key field
@Avaisov commented on GitHub (Feb 28, 2024):
@AsunaYukky Yes thank you, now I have this screen

@Avaisov commented on GitHub (Feb 28, 2024):
I'm sorry, everything is working fine. Thank you very much!
@AsunaYukky commented on GitHub (Feb 28, 2024):
@Avaisov it tells that you have default configuration at "URI path" field . Just change it to something additional, like /mysuperpanel/ =),
@MBurtsev commented on GitHub (May 31, 2025):
This link not work
@MBurtsev commented on GitHub (May 31, 2025):
I thought 3X-UI was meant to automate and simplify the VPN setup process. Why not make life easier for users and automate this process? I've already spent an hour on this, but I still haven't found a solution.