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/