WCF Service TLS 1.2 Enforcement
问题 We are trying to enforce TLS 1.2 in our WCF Service. We have our WCF Service hosted on IIS on our VM Boxes. We are not sure how to disable TLS 1.0 and TLS 1.1 for our service. We have tried the following approach: Configuration change in our WCF Service (Server side) and (client side)** – For the client side, we added the following code in our main method – Remove insecure protocols (SSL3, TLS 1.0, TLS 1.1) ServicePointManager.SecurityProtocol &= ~SecurityProtocolType.Ssl3;