{"id":469,"date":"2016-01-19T15:56:38","date_gmt":"2016-01-19T15:56:38","guid":{"rendered":"http:\/\/www.pkipartner.support\/?page_id=469"},"modified":"2016-02-22T11:35:13","modified_gmt":"2016-02-22T11:35:13","slug":"csr-using-certreq-windows","status":"publish","type":"page","link":"https:\/\/pkipartner.com\/support\/csr-using-certreq-windows\/","title":{"rendered":"CSR &#8211;  Using certreq (Windows)"},"content":{"rendered":"<h1>CSR Generation: Using certreq (Windows)<\/h1>\n<p><strong>This article is for administrators who prefer the command shell!<\/strong><br \/>\nSave the following file as <strong>request.inf<\/strong> on your server editing the subject according to the comment:<\/p>\n<p>;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; request.inf &#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>[Version]<br \/>\nSignature=&#8221;$Windows NT$&#8221;<\/p>\n<p>[NewRequest]<br \/>\n;Change to your,country code, company name and common name<br \/>\nSubject = &#8220;C=US, O=Example Co, CN=something.example.com&#8221;<\/p>\n<p>KeySpec = 1<br \/>\nKeyLength = 2048<br \/>\nExportable = TRUE<br \/>\nMachineKeySet = TRUE<br \/>\nSMIME = False<br \/>\nPrivateKeyArchive = FALSE<br \/>\nUserProtected = FALSE<br \/>\nUseExistingKeySet = FALSE<br \/>\nProviderName = &#8220;Microsoft RSA SChannel Cryptographic Provider&#8221;<br \/>\nProviderType = 12<br \/>\nRequestType = PKCS10<br \/>\nKeyUsage = 0xa0<\/p>\n<p>[EnhancedKeyUsageExtension]<br \/>\nOID=1.3.6.1.5.5.7.3.1 ; this is for Server Authentication \/ Token Signing<br \/>\n;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nthen run<\/p>\n<p>C:\\&gt;certreq -new request.inf request.csr<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSR Generation: Using certreq (Windows) This article is for administrators who prefer the command shell! Save the following file as request.inf on your server editing the subject according to the comment: ;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; request.inf &#8212;&#8212;&#8212;&#8212;&#8212;&#8211; [Version] Signature=&#8221;$Windows NT$&#8221; [NewRequest] ;Change to your,country code, company name and common name Subject = &#8220;C=US,\u2026<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/pkipartner.com\/support\/csr-using-certreq-windows\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/469"}],"collection":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/comments?post=469"}],"version-history":[{"count":3,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/469\/revisions"}],"predecessor-version":[{"id":632,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/469\/revisions\/632"}],"wp:attachment":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/media?parent=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}