Skip to content

Instantly share code, notes, and snippets.

@wongsyrone
Created August 24, 2022 23:35
Show Gist options
  • Save wongsyrone/9e2a69e8fdc3377ee1b484f1cdc7c248 to your computer and use it in GitHub Desktop.
Save wongsyrone/9e2a69e8fdc3377ee1b484f1cdc7c248 to your computer and use it in GitHub Desktop.
Fix Slow HTTPS upload on IIS (Windows Server) by disabling Client Certificate Revocation (CRL) Check
https://techcommunity.microsoft.com/t5/iis-support-blog/disable-client-certificate-revocation-crl-check-on-iis/ba-p/377134
C:\Users\Administrator>netsh http show sslcert
SSL 证书绑定:
-------------------------
IP:端口 : 0.0.0.0:8088
证书哈希 : 051103df1950988a8643134f68d9beaf9d149xxx
应用程序 ID : {4dc3e181-e14b-4a21-b022-59fc669b0xxx}
证书存储名称 : WebHosting
验证客户端证书吊销 : Enabled
仅使用缓存客户端证书验证吊销 : Disabled
用法检查 : Enabled
吊销更新时间 : 0
URL 检索超时 : 0
CTL 标识符 : (null)
CTL 存储名称 : (null)
DS 映射器用法 : Disabled
协商客户端证书 : Disabled
拒绝连接 : Disabled
禁用 HTTP2 : Not Set
C:\Users\Administrator>netsh http update sslcert ipport=0.0.0.0:8088 certhash=051103df1950988a8643134f68d9beaf9d149xxx appid={4dc3e181-e14b-4a21-b022-59fc669b0xxx} certstorename=WebHosting verifyclientcertrevocation=disable disablehttp2=enable
SSL 证书已成功更新
C:\Users\Administrator>netsh http show sslcert
SSL 证书绑定:
-------------------------
IP:端口 : 0.0.0.0:8088
证书哈希 : 051103df1950988a8643134f68d9beaf9d149xxx
应用程序 ID : {4dc3e181-e14b-4a21-b022-59fc669b0xxx}
证书存储名称 : WebHosting
验证客户端证书吊销 : Disabled <<<-------------- Look this
仅使用缓存客户端证书验证吊销 : Disabled
用法检查 : Enabled
吊销更新时间 : 0
URL 检索超时 : 0
CTL 标识符 : (null)
CTL 存储名称 : (null)
DS 映射器用法 : Disabled
协商客户端证书 : Disabled
拒绝连接 : Disabled
禁用 HTTP2 : Set <<<---------------- Look this
C:\Users\Administrator>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment