Compartir a través de


WebSslProtocol Enum

Definition

The valid values for the -SslProtocol parameter for Invoke-RestMethod and Invoke-WebRequest.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum WebSslProtocol
[<System.Flags>]
type WebSslProtocol = 
Public Enum WebSslProtocol
Inheritance
WebSslProtocol
Attributes

Fields

Name Value Description
Default 0

No SSL protocol will be set and the system defaults will be used.

Tls 192

Specifies the TLS 1.0 is obsolete. Using this value now defaults to TLS 1.2.

Tls11 768

Specifies the TLS 1.1 is obsolete. Using this value now defaults to TLS 1.2.

Tls12 3072

Specifies the TLS 1.2 security protocol. The TLS protocol is defined in IETF RFC 5246.

Tls13 12288

Specifies the TLS 1.3 security protocol. The TLS protocol is defined in IETF RFC 8446.

Applies to