簡體   English   中英

在 PowerShell 和 Server 2012 R2 中使用 Get-TlsCipherSuite

[英]Using Get-TlsCipherSuite in PowerShell & Server 2012 R2

我的 PowerShell TLS 模塊似乎不包含 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

但我不確定如何更新它。

我在 PS 5.1

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      14409  1018

我嘗試過

PS> Update-Module tls
Update-Module : Module 'tls' was not installed by using Install-Module, so it
cannot be updated.

編輯:

我認為這是 Server 2012 R2 的限制,因為此處未在 2012 下列出 cmdlet

https://docs.microsoft.com/en-us/powershell/module/tls/?view=win10-ps

但是,它是為 2016 列出的。有沒有辦法將此命令導入 2012 R2?

根據文檔,Windows Server 2012 R2 中的TLS模塊沒有您要查找的 cmdlet。 據我所知,如果不升級到更新的 Windows 版本,就無法更新模塊。

Get-ItemPropertyValue -Path HKLM:\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010002 -Name Functions

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM