Skip to content

Instantly share code, notes, and snippets.

@skusiak
Last active October 5, 2021 13:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skusiak/83db2ba2fc1804b89151db01e97bbbec to your computer and use it in GitHub Desktop.
Save skusiak/83db2ba2fc1804b89151db01e97bbbec to your computer and use it in GitHub Desktop.
# https://censys.io/certificates/730c1bdcd85f57ce5dc0bba733e5f1ba5a925b2a771d640a26f7a454224dad3b
REG DELETE HKU\S-1-5-18\Software\Microsoft\SystemCertificates\CA\Certificates\48504E974C0DAC5B5CD476C8202274B24C8C7172 /f
REG DELETE HKLM\Software\Microsoft\SystemCertificates\CA\Certificates\48504E974C0DAC5B5CD476C8202274B24C8C7172 /f
# Restart IIS:
iisreset /restart
# may take a few minutes for the updated chain to appear.
# h/t: https://social.technet.microsoft.com/Forums/en-US/9cd5d6c8-25e5-494d-acf2-d94230e68a9f/iis-85-on-windows-2012-r2-returns-the-incorrect-intermediate-certificate?forum=winserver8gen#7f00eced-a6b5-4bc1-9303-683ac4e5fc6e
@brainwipe
Copy link

Confirmed to work on Windows Server 2016 Data Center (IIS 10.5) running in AWS. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment