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

使用自签证书出错 #13

Closed
ghost opened this issue Jul 21, 2017 · 7 comments
Closed

使用自签证书出错 #13

ghost opened this issue Jul 21, 2017 · 7 comments

Comments

@ghost
Copy link

ghost commented Jul 21, 2017

错误如下: x509: certificate signed by unknown authority

都是按照readme中的实例操作的

@ls0f
Copy link
Owner

ls0f commented Jul 22, 2017

@lijyigithub 贴下server和local的运行命令.

@ghost
Copy link
Author

ghost commented Jul 22, 2017

./linux_amd64_server -addr :443 -secret whatever -https -cert ./cert.pem -key ./key.pem

./linux_amd64_local -raddr https://myhost -secret whatever -cert ./cert.pem -addr :1080

@ls0f
Copy link
Owner

ls0f commented Jul 24, 2017

生成证书的时候输入的是域名还是ip,如果是ip,换成域名+绑定host试下。

@ls0f
Copy link
Owner

ls0f commented Jul 24, 2017

@lijyigithub 我用ip出现了这种情况。谢谢反馈。

@duhd1993
Copy link

最近各种“谣言”满天飞,repo主能不能介绍下这种协议的安全性怎么样啊?另外速度和tcp比一般怎么样呢?

@ls0f
Copy link
Owner

ls0f commented Jul 26, 2017

  • 依赖TLS的安全性,具体可看https的实现。
  • http[s]就是基于tcp的协议。

@ghost
Copy link
Author

ghost commented Jul 26, 2017

@ls0f
重新生成证书测试了一下,可以使用,可能是我第一次生成证书的时候哪里搞错了。
非常不错的软件,作者辛苦了。

@ghost ghost closed this as completed Jul 26, 2017
This issue was closed.
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

2 participants