Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a custom binding element that supports channel security using an SSL stream.
<configuration>
<system.serviceModel>
<bindings>
<customBinding>
<binding>
<sslStreamSecurity>
Syntax
<sslStreamSecurity requireClientCertificate="Boolean"
sslProtocols="Ssl3|Tls|Tls11|Tls12" />
Important
The syntax shows the full historical enum surface for the sslProtocols attribute. For new configurations, don't enable Ssl3, Tls, or Tls11. Prefer OS defaults, or limit the configuration to modern TLS versions supported by your target platform. For more information, see Transport Layer Security (TLS) best practices with the .NET Framework.
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
| Attribute | Description |
|---|---|
| requireClientCertificate | A Boolean value that specifies if a client certificate is required for this binding. The default is false. |
| sslProtocols | A SslProtocols enum flag value that specifies which SslProtocols are supported. The default is Ssl3|Tls|Tls11|Tls12. This historical default exists for compatibility and isn't recommended for new configurations. |
Child Elements
None.
Parent Elements
| Element | Description |
|---|---|
| <binding> | Defines all binding capabilities of the custom binding. |