New-TlsSessionTicketKey

New-TlsSessionTicketKey

Creates a TLS session ticket key configuration file.

構文

Parameter Set: Default
New-TlsSessionTicketKey [-Password] <SecureString> [[-Path] <String> ] [ <CommonParameters>]

詳細説明

The New-TlsSessionTicketKey cmdlet creates a password protected Transport Layer Security (TLS) Session Ticket key configuration file.

TLS creates a session ticket by using the Transport Layer Security (TLS) Session Resumption without Server-Side State mechanism [RFC 5077]. This mechanism helps to improve the performance of TLS. The TLS server uses this mechanism to create a key to encrypt a session ticket. The client can later use the encrypted session ticket to resume communication with the TLS server. Otherwise, the client must restart the communication by acquiring of new session ticket. For more information, see RFC 5077, "Transport Layer Security (TLS) Session Resumption without Server-Side State."

パラメーター

-Password<SecureString>

Specifies the password, as a secure string, for the configuration file of the TLS server.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

-Path<String>

Specifies the path of the configuration file for the TLS server. The cmdlet outputs the generated configuration file to this path.

エイリアス

FullName

必須?

false

位置は?

2

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Create a TLS session ticket key

This example exports the key for a TLS session ticket for a service account.

The first command prompts the user to enter a password. The command masks the password that the user types at the prompt. The command stores the password in the $Password variable

The second command creates the session ticket key configuration file for the service account named Networkservice. The command specifies the path for the output configuration file on the TLS server, and specifies that the TLS session use the password stored in $Password to access the configuration file.

PS C:\> $Password = read-host -assecurestring
PS C:\> New-TlsSessionTicketKey -Path "C:\keyconfig\tlssessionticketKey.config" -Password $Password

関連トピック

Enable-TlsSessionTicketKey

Export-TlsSessionTicketKey

Disable-TlsSessionTicketKey