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

.net tcp client use tls server #82

Open
czyt opened this issue Dec 24, 2021 · 2 comments
Open

.net tcp client use tls server #82

czyt opened this issue Dec 24, 2021 · 2 comments

Comments

@czyt
Copy link

czyt commented Dec 24, 2021

server :Golang running on a tls binding with a server cert file and a server cert key file
client: how to connect to the server using client cert file and client cert key file,if the client url start with tls ,is it auto detected?

@czyt
Copy link
Author

czyt commented Dec 27, 2021

use Client.Tcp.CertificateSelection in dot net client to provide cert,but when set golang server tls option to config := &tls.Config{ ClientAuth: tls.RequireAndVerifyClientCert, }, no cert was passed to the server

@andot
Copy link
Member

andot commented Dec 28, 2021

我对 tls 这套东西不是很了解,你自己查查资料吧。这部分是跟 hprose 独立的,设置都通用。

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