windows - IIS 使用 powershell 禁用 ocsp 装订

标签 windows powershell ssl iis

IIS GUI 中有复选框“禁用 OCSP 装订”, 我如何在 powershell 中禁用它?

已尝试:网络管理模块 Set-WebConfiguration 和 netsh http 更新 sslcert 但没有成功。

最佳答案

据我所知,由于潜在的性能问题,默认情况下禁用 OCSP 装订。

如果你想禁用它,我建议你可以运行以下命令:

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\" -Name "EnableOcspStaplingForSni" -PropertyType DWord -Value 0

关于windows - IIS 使用 powershell 禁用 ocsp 装订,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58611723/

相关文章:

python - 如何调试在 Python 中使用的 Windows DLL?

windows - 如何使批处理文件自行删除?

iphone - 从 Windows 与 iOS 对话?

ssl - 如何在 Spring Cloud 网关中使用 SSL

C++ 进程监控 (GetExitCodeProcess)

powershell - 如何在 PowerShell 模块中引用来自 GAC 的程序集?

powershell - 如何编写接受管道输入的 PowerShell 脚本?

Powershell 跳过数组中的元素,如果它为空

ssl - LoadRunner SSL 证书问题

ssl - 负载均衡器下的两台服务器共用 CA