Skip to content
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

运行客户端命令遇错 #10

Closed
briteming opened this issue May 3, 2020 · 3 comments
Closed

运行客户端命令遇错 #10

briteming opened this issue May 3, 2020 · 3 comments

Comments

@briteming
Copy link

hi.

我在mac上运行:
./cmd proxy client -server vps-ip:36710 -socks5-addr localhost:1081 -up-mbps 10 -down-mbps 50 -obfs BlueberryFaygo -username xyz -password abc
显示:
...
2020/05/03 16:28:07 Client initialization failed: CRYPTO_ERROR: x509: cannot validate certificate for my-vps-ip because it doesn't contain any IP SANs.

怎么解决?

@mritd
Copy link
Collaborator

mritd commented May 3, 2020

你的服务端证书有问题,服务端证书没有包含服务端 ip 或者不是通过域名访问的服务器;如果自己有域名的话就通过 let's encrypt(acme) 自己签署一个,没有就使用自签证书。

@tobyxdd
Copy link
Collaborator

tobyxdd commented May 3, 2020

服务端证书是什么域名你客户端就要用什么域名连接

@tobyxdd tobyxdd closed this as completed May 7, 2020
@xtccc
Copy link

xtccc commented Feb 7, 2022

服务端的 .cert 证书 换成全链证书 fullchain.cer 试试?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants