hprose-dotnet icon indicating copy to clipboard operation
hprose-dotnet copied to clipboard

.net tcp client use tls server

Open czyt opened this issue 3 years ago • 2 comments

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 avatar Dec 24 '21 04:12 czyt

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

czyt avatar Dec 27 '21 02:12 czyt

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

andot avatar Dec 28 '21 03:12 andot