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

Go1.15以上,证书需要SANs #4

Open
klayyu opened this issue Apr 29, 2021 · 2 comments
Open

Go1.15以上,证书需要SANs #4

klayyu opened this issue Apr 29, 2021 · 2 comments

Comments

@klayyu
Copy link

klayyu commented Apr 29, 2021

client.Search err : rpc error: code = Unavailable desc = connection error: desc = "transport: authentication handshake failed: x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0"

@klayyu
Copy link
Author

klayyu commented Apr 29, 2021

解决方法https://blog.csdn.net/weixin_40280629/article/details/113563351
亲测可以解决

@gocpplua
Copy link

解决方法https://blog.csdn.net/weixin_40280629/article/details/113563351 亲测可以解决

没有写客户端证书怎么生成

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