Skipping website and CA and using self-signed certificate? #4572
Unanswered
ILogOutOnTheToilet
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I think the doc is talking about using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The "Beginner Tutorial" instructions ask you to create a website and apply for a TLS certificate:
https://xtls.github.io/en/document/level-0/
I managed to get the below example to work with a self-signed certificate and the IP address of my VPS (instead of website) :
https://github.com/XTLS/Xray-examples/tree/main/VLESS-TCP-TLS-WS%20(recommended)
What is the security issue, or any issue at all with this method? Obviously the self-signed certificate I used is not trusted by Windows and Firefox, so I added it to the trusted root or authority and then it works.
There is a warning in the "Beginner Tutorial" saying:
https://xtls.github.io/en/document/level-0/ch06-certificates.html
But how can someone do a man-in-the-middle attack if they don't have my certificate key?
It is so much more convenient to create a self-signed certificate than to make a website and register a domain name, especially if I am visiting a country with restricted internet for only a few weeks or a month.
Beta Was this translation helpful? Give feedback.
All reactions