PowerShell Logo Small

Enable-TlsSessionTicketKey



This is the built-in help made by Microsoft for the command 'Enable-TlsSessionTicketKey', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Configures a TLS server with a TLS session ticket key.

SYNTAX


Enable-TlsSessionTicketKey [-Password] <SecureString> [-Path] <String> [-ServiceAccountName] <NTAccount> [-Force] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Enable-TlsSessionTicketKey cmdlet configures a Transport Layer Security (TLS) server with an administrator-managed TLS session ticket key, created with New-TlsSes
sionTicketKey, and configures the rule that uses the key for the application service account. For example, Internet Information Services (IIS) runs under System accou
nt so the ServiceAccountName parameter should be System.


TLS creates a session ticket by using the TLS Session Resumption without Server-Side State mechanism. For more information, see New-TlsSessionTicketKey or type Get-He
lp New-TlsSessionTicketKey.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=294407
New-TlsSessionTicketKey
Export-TlsSessionTicketKey
Disable-TlsSessionTicketKey

REMARKS

<

Examples


Example 1: Configure a TLS server with a TLS session ticket key for the NetworkService account

PS C:\>$Password = Read-Host -AsSecureString
PS C:\> Enable-TlsSessionTicketKey -Password $Password -Path "C:\KeyConfig\TlsSessionTicketKey.config" -ServiceAccountName "NetworkService"



The second command configures the session ticket key for the TLS server. The command specifies the path for the configuration file on the TLS server, and specifies th
at the TLS session use the password stored in $Password to access the configuration file and configure the key for the specified service account.






Example 2: Configure a TLS server with a TLS session ticket key for System account

PS C:\>$Password = Read-Host -AsSecureString
PS C:\> Enable-TlsSessionTicketKey -Password $Password -Path "C:\KeyConfig\TlsSessionTicketKey.config" -ServiceAccountName "System"



The second command configures the session ticket key for the TLS server. The command specifies the path for the configuration file on the TLS server, and specifies th
at the TLS session use the password stored in $Password to access the configuration file and configure the key for the specified service account.