Skip to content

Instantly share code, notes, and snippets.

@Spongman
Created June 22, 2019 00:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Spongman/be2598909bbed31d0cf9172312b1f1ec to your computer and use it in GitHub Desktop.
Save Spongman/be2598909bbed31d0cf9172312b1f1ec to your computer and use it in GitHub Desktop.
clear local IIS Certificate Revocation List
iisreset /stop /timeout:0
net stop w3svc /y
net stop http /y
net stop CertPropSvc /y
certutil -setreg chain\ChainCacheResyncFiletime @now
certutil -urlcache * delete
del /q /f /s /a:h C:\Windows\System32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\*
net start CertPropSvc
net start http
net start w3svc
iisreset /timeout:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment