-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Xray-core "MitM" requires a certificate to run #4336
Comments
why dislike? If v2rayNG is not able to generate a certificate, then most of the users will use the ready-made certificate posted on youtube,... |
@2dust |
MITM on Android is not so ideal since most applications won't trust the installed certificate in user CA storage, but iOS does trust, BTW. For trusting, either the app opts in, by adding |
Yes, I mentioned this in https://github.com/XTLS/Xray-examples/blob/main/Serverless-for-Iran/README.md Anyway, I hope this restriction will be removed in the future. at least, i think "geo asset files" should be renamed to "geo and certificate asset files" and v2rayNG supports importing certificates. Currently, the only way to import a certificate is "string", which is not convenient at all. (Although, users still can't generate certificate on android) |
XRay-core will unveil MitM in next version (MitM + Domain Fronting).
the users need to create and import a self-signed-certificate into the config:
so like geo-asset-files we need a section in v2rayNG to import the user certificate and its private-key.
///
also, Xray-core can generate self-signed-certificate with
xray tls cert -ca -file=mycert
command,this command generate a certificate and its private-key and saves them in:
mycert.crt
andmycert.key
in addition, the users need to import
mycert.crt
into the android-system,So In addition to the ability to Import the existing user certificate, v2rayNG must be able to generate and export a new certificate.
The text was updated successfully, but these errors were encountered: