My PowerShell TLS module doesn't seem to contain the cmdlet Get-TlsCipherSuite
:
PS> (Get-Module tls).ExportedCommands Key Value --- ----- Disable-TlsSessionTicketKey Disable-TlsSessionTicketKey Enable-TlsSessionTicketKey Enable-TlsSessionTicketKey Export-TlsSessionTicketKey Export-TlsSessionTicketKey New-TlsSessionTicketKey New-TlsSessionTicketKey
But I'm not sure how I can update it.
I am on PS 5.1
Major Minor Build Revision ----- ----- ----- -------- 5 1 14409 1018
I have attempted
PS> Update-Module tls Update-Module : Module 'tls' was not installed by using Install-Module, so it cannot be updated.
Edit:
I think this is a limitation of Server 2012 R2 as the cmdlet is not listed under 2012 here
https://learn.microsoft.com/en-us/powershell/module/tls/?view=win10-ps
However, it is listed for 2016. Is there a way to import this command to 2012 R2?
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\DisabledByDefault is present, the value should be 0. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client\Enabled is present, value should be 1.
As per the documentation the TLS
module in Windows Server 2012 R2 doesn't have the cmdlet you're looking for. As far as I'm aware you cannot update the module without upgrading to a more recent Windows version.
Get-ItemPropertyValue -Path HKLM:\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010002 -Name Functions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With