简体   繁体   中英

IIS disable ocsp stapling using powershell

There is checkbox "Disable OCSP stapling" in IIS GUI, how do i disable same in powershell?

Have tried: webadministration module Set-WebConfiguration and netsh http update sslcert but without success.

As far as I know, the OCSP stapling is disabled by default, because of potential performance issues.

If you want to disbale it, I suggest you could run below command:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM