NsqSharp icon indicating copy to clipboard operation
NsqSharp copied to clipboard

Can't add Certificate into TcpConn

Open Sunyao-work opened this issue 7 years ago • 2 comments

Certificate collection is empty in code as below

try { sslStream.AuthenticateAsClient(_hostname, new X509Certificate2Collection(), enabledSslProtocols, tlsConfig.CheckCertificateRevocation); } catch (Exception ex) { throw new Exception(string.Format("{0} - {1}", ex.Message, errorMessage), ex); }

Sunyao-work avatar Jul 20 '17 01:07 Sunyao-work

I have this working. I'm quite new to this library, but I can create PR. @judwhite any chance you could review it?

Misiu avatar Mar 04 '21 15:03 Misiu

https://github.com/judwhite/NsqSharp/pull/101 @Sunyao-work I've created PR that adds support for client cert @judwhite can you review this?

Misiu avatar Mar 23 '21 13:03 Misiu