Can I use NetTcpBinding with transport security (https) but without client certificate

nettcpbinding, ssl, transport, wcf

Solution

HTTPS is part of the HTTP protocol.

NetTcpBinding uses a binary protcol which is not HTTP. Therefore you cannot use HTTPS with NetTcp.

For securing NetTcp see: http://msdn.microsoft.com/en-us/library/ms789011.aspx

Problem

We run NetTcpBinding with SecurityMode.None. Now we also want encryption of the sent data. Set SecurityMode to Transport seems not enough, because the client cant connect to the server anymore (that worked before this change) although the server is started. What else do I need to change?

Original source