Skip to content

Support for TLS 1.3 #13398

@trudolf-msft

Description

@trudolf-msft

Steps to reproduce

Invoke-WebRequest -SslProtocol tls13 -Uri https://www.google.com

image

Expected behavior

Connect with TLS 1.3 without error

Actual behavior

Error message:
Invoke-WebRequest: Cannot bind parameter 'SslProtocol'. Cannot convert value "tls13" to type "Microsoft.PowerShell.Commands.WebSslProtocol". Error: "Unable to match the identifier name tls13 to a valid enumerator name. Specify one of the following enumerator names and try again:
Default, Tls, Tls11, Tls12"

Environment data

Name Value


PSVersion 7.0.3
PSEdition Core
GitCommitId 7.0.3
OS Microsoft Windows 10.0.19041
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0


Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Enhancementthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions