{"id":195,"date":"2017-12-01T12:41:19","date_gmt":"2017-12-01T12:41:19","guid":{"rendered":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/?p=195"},"modified":"2017-12-01T12:41:19","modified_gmt":"2017-12-01T12:41:19","slug":"windows-generate-csr-for-code-or-driver-signing-certificate","status":"publish","type":"post","link":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/windows-generate-csr-for-code-or-driver-signing-certificate\/","title":{"rendered":"Windows: Generate CSR for code or driver signing certificate"},"content":{"rendered":"<p>To request a code signing certificate or a Windows driver signing certificate, you have to provide us a certificate signing request (CSR) generated by the machine you use to sign the code. We&#8217;ll use the information in this file to validate your request and provide the information to anyone downloading your code or driver.<\/p>\n<p>If you&#8217;re using Windows 7 you can generate the CSR through Microsoft Management Console (<code>mmc.exe<\/code>).<\/p>\n<p class=\"note\">\u00a0<strong>Note:<\/strong>\u00a0It&#8217;s important that you generate the CSR from your local machine and not from the web server you&#8217;re using to host the file.<\/p>\n<h2>Add certificates snap-in to MMC<\/h2>\n<ol>\n<li>In your Windows search feature, enter\u00a0<strong>mmc<\/strong>, and then click it to launch the Microsoft Management Console application.<\/li>\n<li>From\u00a0<strong>File<\/strong>, click\u00a0<strong>Add\/Remove Snap-in<\/strong>.<\/li>\n<li>Click\u00a0<strong>Certificates<\/strong>\u00a0and then click\u00a0<strong>Add<\/strong>.<\/li>\n<li>Select\u00a0<strong>Computer account<\/strong>, and then click\u00a0<strong>Next<\/strong>.<\/li>\n<li>Select\u00a0<strong>Local computer<\/strong>, and then click\u00a0<strong>Finish<\/strong>.<\/li>\n<li>Click\u00a0<strong>OK<\/strong>.<\/li>\n<\/ol>\n<h2>Generate CSR &amp; private key<\/h2>\n<ol>\n<li>In MMC, expand\u00a0<strong>Certificates (Local Computer)<\/strong>\u00a0and then\u00a0<strong>Personal<\/strong>.<\/li>\n<li>Right-click\u00a0<strong>Certificates<\/strong>, and then go to the following menus:\u00a0<strong>All Tasks<\/strong>\u00a0&gt;\u00a0<strong>Advanced Operations<\/strong>\u00a0&gt;\u00a0<strong>Create Custom Request<\/strong>.<\/li>\n<li>Click\u00a0<strong>Next<\/strong>.<\/li>\n<li>Click\u00a0<strong>Active Directory Enrollment Policy<\/strong>.<\/li>\n<li>From\u00a0<strong>Template<\/strong>, click\u00a0<strong>Web Server<\/strong>.<\/li>\n<li>Ensure the\u00a0<strong>Request format<\/strong>\u00a0is\u00a0<strong>PKCS #10<\/strong>, and then click\u00a0<strong>Next<\/strong>.<\/li>\n<li>Click the downward-facing arrow next to\u00a0<strong>Details<\/strong>, and then click\u00a0<strong>Properties<\/strong>.<\/li>\n<li>From the\u00a0<strong>Type<\/strong>\u00a0menu, select the following values, enter the corresponding\u00a0<strong>Value<\/strong>, and then click\u00a0<strong>Add<\/strong>:<br \/>\n<table>\n<tbody>\n<tr>\n<th>Type<\/th>\n<th>Value<\/th>\n<\/tr>\n<tr>\n<td>Common name<\/td>\n<td>Your business or organization&#8217;s name<\/td>\n<\/tr>\n<tr>\n<td>Organization<\/td>\n<td>Your business or organization&#8217;s name<\/td>\n<\/tr>\n<tr>\n<td>Locality<\/td>\n<td>Your business or organization&#8217;s address<\/td>\n<\/tr>\n<tr>\n<td>State<\/td>\n<td>The state where your business or organization resides<\/td>\n<\/tr>\n<tr>\n<td>Country<\/td>\n<td>The country where your business or organization resides<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Click the\u00a0<strong>General<\/strong>\u00a0tab, and then enter a\u00a0<strong>Friendly name<\/strong>\u00a0you can use to refer to the certificate.<\/li>\n<li>Go to the\u00a0<strong>Private Key<\/strong>\u00a0tab, click\u00a0<strong>Key type<\/strong>, and then select\u00a0<strong>Make private key exportable<\/strong>.<\/li>\n<li>Click\u00a0<strong>OK<\/strong>, and then click\u00a0<strong>Next<\/strong>.<\/li>\n<li><strong>Browse<\/strong>\u00a0for the location where you want to save the file, enter a\u00a0<strong>File Name<\/strong>, and then click\u00a0<strong>Finish<\/strong>.<\/li>\n<\/ol>\n<p>Your CSR is now stored in the file you saved it to on your local machine.<\/p>\n<p>This process also creates a private key, which you will need to use later to create a\u00a0<code>PFX<\/code>\u00a0file to sign your code or driver.<\/p>\n<h2>Next step<\/h2>\n<ul>\n<li>Open the CSR file in Notepad, and then use it to\u00a0<a href=\"https:\/\/www.secureserver.net\/help\/article\/562?prog_id=ifindhost\">request your SSL certificate<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>To request a code signing certificate or a Windows driver signing certificate, you have to provide us a certificate signing request (CSR) generated by the machine you use to sign the code. We&#8217;ll use the information in this file to<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[96],"tags":[97],"class_list":["post-195","post","type-post","status-publish","format-standard","hentry","category-code-driver-signing-certificates","tag-its-important-that-you-generate-the-csr-from-your-local-machine-and-not-from-the-web-server-youre-using-to-host-the-file"],"_links":{"self":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts\/195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/comments?post=195"}],"version-history":[{"count":1,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/posts\/195\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/media?parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/categories?post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cheapdomainregistration.com\/cheap-domain\/wp-json\/wp\/v2\/tags?post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}