{"id":645,"date":"2023-09-13T19:17:05","date_gmt":"2023-09-14T02:17:05","guid":{"rendered":"https:\/\/blog.iabsolute.com\/?p=645"},"modified":"2023-09-13T19:18:06","modified_gmt":"2023-09-14T02:18:06","slug":"cert-not-store-in-server-cert","status":"publish","type":"post","link":"https:\/\/blog.iabsolute.com\/?p=645","title":{"rendered":"cert not store in server certificate"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li>First open MMC with the Certificates plug in.<\/li>\n\n\n\n<li>Drag-n-drop your new certificate (missing the key on the upper left part of the certificate icon) to the &#8220;Personal&#8221; certificate store. This I did because the name of the &#8220;Web Hosting&#8221; store is a so called friendly name and not the real name of the store, and I could not remember the real name which is needed for the command prompt utility&nbsp;<strong>certutil<\/strong>. Instead I just remembered that the real name of &#8220;Personal&#8221; is &#8220;My&#8221;. Makes the rest easy, and once done I just move the certificate back into &#8220;Web Hosting&#8221;.<\/li>\n\n\n\n<li>Once the new certificate (missing the key) is in the &#8220;Personal&#8221; store, start a command prompt and issue the following command:&nbsp;<strong>certutil -store &#8220;My&#8221;<\/strong>&nbsp;(assuming the quotes are needed)<\/li>\n\n\n\n<li>Note the serial number of your certificate. It&#8217;s in the first line of the certificate dump. If you have other certificates in the &#8220;My&#8221; store, then you need to find the one you just moved. Look at expiration date and name for example. Mark and copy the serial number.<\/li>\n\n\n\n<li>Now issue the command&nbsp;<strong>certutil -repairstore &#8220;My&#8221;&nbsp;<em>&lt;paste serial number here&gt;<\/em><\/strong>&nbsp;and note the private key is verified.<\/li>\n\n\n\n<li>Move the certificate back to the &#8220;Web Hosting&#8221; store and refresh. You should now see the certificate icon overlaid with a small key icon in the upper left part.<\/li>\n\n\n\n<li>Now you should be able to choose the certificate from inside the IIS bindings dialog.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38,21,7],"tags":[],"class_list":["post-645","post","type-post","status-publish","format-standard","hentry","category-iis","category-ssl","category-windows"],"_links":{"self":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=645"}],"version-history":[{"count":2,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/645\/revisions"}],"predecessor-version":[{"id":647,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=\/wp\/v2\/posts\/645\/revisions\/647"}],"wp:attachment":[{"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iabsolute.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}