You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows Server 2019中netsh add sslcert的disablelegacytls参数报错求助

netsh添加SSL证书时使用disablelegacytls参数报错问题

我尝试通过netsh命令添加SSL证书并禁用旧版TLS,执行命令:

PS C:\Users> netsh http add sslcert ipport=0.0.0.0:60066 certhash=$thumbPrint appid=$appId disablelegacytls=enable

但始终提示错误:

The syntax supplied for this command is not valid. Check help for the correct syntax.

移除disablelegacytls=enable参数后,命令能正常执行成功。

我查看netsh命令的帮助文档,确实包含disablelegacytls=enable|disable这个参数,且微软官方文档显示该参数仅适用于Windows Server 2004及以上版本。我的系统版本信息如下:

PS C:\Users> (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion") | select ProductName, ReleaseId, CurrentMajorVersionNumber, CurrentMinorVersionNumber, CurrentBuildNumber, UBR

ProductName               : Windows Server 2019 Standard
ReleaseId                 : 1809
CurrentMajorVersionNumber : 10
CurrentMinorVersionNumber : 0
CurrentBuildNumber        : 17763
UBR                       : 5458

请问有没有人成功在Windows Server 2019(1809)上实现这个配置?


内容的提问来源于stack exchange,提问作者jansohn

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.29 11:21:13