{"id":1338,"date":"2017-06-05T14:09:36","date_gmt":"2017-06-05T19:09:36","guid":{"rendered":"https:\/\/it.thelibrarie.com\/weblog\/?p=1338"},"modified":"2017-06-05T14:09:36","modified_gmt":"2017-06-05T19:09:36","slug":"microsoft-ca-delete-old-certificates","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2017\/06\/microsoft-ca-delete-old-certificates\/","title":{"rendered":"Microsoft CA Delete Old Certificates"},"content":{"rendered":"<p>I had an issue where a certificate template was inadvertently used for all users and machines. Creating a new request daily. For 3 months. Without overwriting the old request. Ouch.<\/p>\n<p>So in my Certificate Authority MMC I saw under Issued Certificates thousands of certs that were expired and I wanted them to just go away. Enter the Admin Command Prompt (I didn&#8217;t try with powershell).<\/p>\n<p><code>certutil -deleterow 5\/10\/2016 Cert<\/code><br \/>\nApparently this command will only delete up to 3000 per attempt, so I had to run it a few times to get my results.<\/p>\n<p>https:\/\/technet.microsoft.com\/en-us\/library\/cc732443.aspx?f=255&#038;MSPPError=-2147217396#BKMK_deleterow<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an issue where a certificate template was inadvertently used for all users and machines. Creating a new request daily. For 3 months. Without overwriting the old request. Ouch. So in my Certificate Authority MMC I saw under Issued Certificates thousands of certs that were expired and I wanted them to just go away. &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2017\/06\/microsoft-ca-delete-old-certificates\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Microsoft CA Delete Old Certificates<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1338","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1338"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1338\/revisions"}],"predecessor-version":[{"id":1339,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1338\/revisions\/1339"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}