PowerShell/test/tools/Modules
Mark Kraus ecf0f8c151 Add SslProtocol Support to WebCmdlets (#5329)
closes #2662

This feature adds the ability to restrict the SSL/TLS protocol used when making the web request. In 5.1 the user could make use of .NET API's to enforce this on the Web Cmdlets. With the move to HttpClient in PowerShell Core, those APIs have no impact. The user still has requirements to ensure specific protocols are used.

The public enum WebSslProtocol is added as a wrapper to the underlying SslProtocols enum. Neither it nor SecurityProtocolType can be used because Ssl3 and Ssl2 are not supported by HttpClientHandler.SslProtocols. While it may not be intuitive to a PowerShell user to use -bor or "Tls, Tls11" to set multiple options, the general use case for this will be a single protocol.

Adds -SslProtocol parameter to Web Cmdlets
Adds WebSslProtocol Enum to support limited subset of SslProtocol enum supported by HttpClientHandler
Adds TLS 1.1 and TLS 1.0 listening ports to WebListener
2017-11-13 10:45:46 -08:00
..
HelpersCommon Remove DCOM support from *-Computer cmdlets (#5277) 2017-11-01 10:59:41 -07:00
HelpersHostCS Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
HelpersLanguage Always run test with crossgen'ed assemblies in CI (#5315) 2017-11-02 18:03:34 -07:00
HelpersRemoting Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
HttpListener Use consistent '(c)' for copyright symbol (#5210) 2017-10-26 14:12:19 -07:00
WebListener Add SslProtocol Support to WebCmdlets (#5329) 2017-11-13 10:45:46 -08:00