https://www.codeproject.com/Tips/1010900/Windows-SSL-Certificate-Cleaner Required trusted root certificates: https://docs.microsoft.com/en-US/troubleshoot/windows-server/identity/trusted-root-certificates-are-required private static string AllowThumbprints = " CDD4EEAE6000AC7F40C3802C171E30148030C072, BE36A4562FB2EE05DBB3D32323ADF445084ED656, A43489159A520F0D93D032CCAF37E7FE20A8B419, 8F43288AD272F3103B6FB1428485EA3014C0BCFE, 7F88CD7223F3C813818C994614A89C99FA3B5247, 3B1EFD3A66EA28B16697394703A72CA340A05BD5, 245C97DF7514E7CF2DF8BE72AE957B9E04741E85, 18F7C1FCC3090203FD5BAA2F861A754976C8DD25, F373B387065A28848AF2F34ACE192BDDC78E9CAC, E12DFB4B41D7D9C32B30514BAC1D81D8385E2D46, DE28F4A4FFE5B92FA3C503D1A349A7F9962A8212, D4DE20D05E66FC53FE1A50882C78DB2852CAE474, D23209AD23D314232174E40D7F9D62139786633A, CA3AFBCF1240364B44B216208880483919937CF7, B51C067CEE2B0C3DF855AB2D92F4FE39D4E70F0E, B31EB1B740E36C8402DADC37D44DF5D4674952F9, B1BC968BD4F49D622AA89A81F2150152A41D829C, AD7E1C28B064EF8F6003402014C3D0E3370EB58A, A8985D3A65E5E5C4B2D7D66D40C6DD2FB19C5436, 99A69BE61AFE886B4D2B82007CB854FC317E1539, 97817950D81C9670CC34D809CF794431367EF474, 91C6D6EE3E8AC86384E548C299295C756C817B81, 8782C6C304353BCFD29692D2593E7D44D934FF11, 85371CA6E550143DCE2803471BDE3A09E8F8770F, 75E0ABB6138512271C04F85FDDDE38E4B7242EFE, 742C3192E607E424EB4549542BE1BBC53E6174E2, 74207441729CDD92EC7931D823108DC28192E2BB, 627F8D7827656399D27D7F9044C9FEB3F33EFA9A, 6252DC40F71143A22FDE9EF7348E064251B18118, 5FB7EE0633E259DBAD0C4C9AE6D38F1A61C7DC25, 503006091D97D4F5AE39F7CBE7927D7D652D3431, 4EB6D578499B1CCF5F581EAD56BE3D9B6744A5E5, 47BEABC922EAE80E78783462A79F45C254FDE68B, 3E2BF7F2031B96F38CE6C4D8A85D3E2D58476A0F, 323C118E1BF7B8B65254E2E2100DD6029037F096, 2796BAE63F1801E277261BA0D77770028F20EEE4, 07E032E020B72C3F192F0628A2593A19A70F069E, 0563B8630D62D75ABBC8AB1E4BDFB5A899B24D43, 02FAF3E291435468607857694DF5E45B68851868, C2CBFE64932BBB842F04874445416E34164E3FE5, 94807B1C788DD2FCBE19C8481CE41CFAB8A4C17F, 902EF2DEEB3C5B13EA4C3D5193629309E231AE55, 73E42686657AECE354FBF685712361658F2F4357, 5DEB8F339E264C19F6686F5F8F32B54A4C46B476, 4A8A2A0E276FF33B5DD88A362146010F2A8B6AEE, 42857855FB0EA43F54C9911E30E7791D8CE82705, 0E34141846E7423D37F20DC0AB06C9BBD843DC24, 0AD38A30ABC0F0B605B45C727A90819E7FF9DAF4, D559A586669B08F46A30A133F8A9ED3D038E2EA8, 109F1CAED645BB78B3EA2B94C0697C740733031C"; //For the serial numbers below see https://support.microsoft.com/en-us/kb/293781 private static string DefaultSerialNumbers = " 00c1008b3c3c8811d13ef663ecdf40, 4a19d2388c82591ca55d735f155ddca3, 03c78f37db9228df3cbb1aad82fa6710, 79ad16a14aa0a5ad4c7358f407132e65, 03c78f37db9228df3cbb1aad82fa6710";