Skip to content

Latest commit

 

History

History
106 lines (76 loc) · 3.34 KB

New-TlsSessionTicketKey.md

File metadata and controls

106 lines (76 loc) · 3.34 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.WindowsAuthenticationProtocols.Commands.dll-Help.xml
TLS
12/20/2016
2.0.0
New-TlsSessionTicketKey

New-TlsSessionTicketKey

SYNOPSIS

Creates a TLS session ticket key configuration file.

SYNTAX

New-TlsSessionTicketKey [[-Path] <String>] [-Password] <SecureString> [<CommonParameters>]

DESCRIPTION

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 TLS Session Resumption without Server-Side State mechanism. 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.

EXAMPLES

Example 1: Create a TLS session ticket key

$Password = Read-Host -AsSecureString
New-TlsSessionTicketKey -Password $Password -Path 'C:\KeyConfig\TlsSessionTicketKey.config'

The first command prompts the user to enter a password by using the Read-Host cmdlet. The command masks the password that the user types at the prompt. For more information, type Get-Help Read-Host. The command stores the password in the $Password variable.

The second command creates the session ticket key configuration file which can be used to enable the TLS session ticket for a service account. 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.

PARAMETERS

-Password

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

Type: System.Security.SecureString
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-Path

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

Type: System.String
Parameter Sets: (All)
Aliases: FullName

Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Enable-TlsSessionTicketKey

Export-TlsSessionTicketKey

Disable-TlsSessionTicketKey