-
Notifications
You must be signed in to change notification settings - Fork 323
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
部署V2Ray后WebSocket+TLS用Surge连接提示Invalid Certificate Chain #279
Comments
```V2Ray`` 4.20.0 (V2Fly, a community-driven edition of V2Ray.) Custom
上面是我uninstall掉V2Ray之后再重新Install之后的Log,似乎V2Ray并没有读取到crt证书文件,但是直接去SFTP查看的话文件又都是存在的 |
我遇到的问题稍有不同,我是无法使用443,只能使用我自定义的端口号才能正常使用 |
使用TCP并且关掉TLS的情况下可以443与10443接口都可以连接成功。
根据V2Ray教程中的方案2: WebSocket 传输,使用 Nginx & SSL Support 反代 V2Ray,将V2Ray的Port修改为10443,然后依次安装Nginx Proxy与Nginx SSL Support。
再根据
填写完并update Config之后稍等了一会,在浏览器输入https://域名 之后能看到502 Bad Gateway nginx/1.17.5,在HyperApp的Nginx SSL Support的状态里有显示certs saved to /srv/docker/certs, 手动进入对应文件夹后也能看到证书文件。此时Safari浏览器地址栏前方也有🔒。点开证书后显示的也确实是Let's Encrypt的证书。
但是这个时候修改Surge里的配置文件,使用WS+TLS连接443端口,Surge报错显示Invalid Certificate Chain。在手机上的shadowrocket尝试后同样无法访问Google。
看起来似乎最有可能的情况是Nginx并没有把443端口反代给V2Ray,但是我并不知道如何确认并解决这个问题,Nginx,V2Ray,Surge/Shadowrocket这三个地方我还需要做什么进一步的排查吗?
The text was updated successfully, but these errors were encountered: