{"id":70,"date":"2019-07-08T16:34:40","date_gmt":"2019-07-08T16:34:40","guid":{"rendered":"https:\/\/www.ssls.com\/knowledgebase\/?p=70"},"modified":"2022-09-20T12:24:56","modified_gmt":"2022-09-20T12:24:56","slug":"how-to-generate-a-csr-code-on-exchange-2007-using-powershell","status":"publish","type":"post","link":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/","title":{"rendered":"How to generate a CSR code on Exchange 2007 using PowerShell"},"content":{"rendered":"<p>You can create the CSR code on an Exchange server using Exchange Management Shell following the steps below:Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell<\/p>\n<ol>\n<li>Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell<\/li>\n<li>To generate a CSR, use <strong><em>New-ExchangeCertificate<\/em><\/strong> cmdlet with the following parameters:\n<ul>\n<li><strong>GenerateRequest<\/strong> will generate a new certificate request in PKCS#10 format.<\/li>\n<li><strong>SubjectName<\/strong> should contain the information you want to include in your certificate request, namely:<\/li>\n<\/ul>\n<p><strong>C \u2013<\/strong> Country (2 letter abbreviation);<\/p>\n<p><strong>S \u2013<\/strong> State (full name of the state, region or province);<\/p>\n<p><strong>L \u2013<\/strong> Locality (full name of the city or locality);<\/p>\n<p><strong>O \u2013<\/strong> Organization Name (legally registered company name);<\/p>\n<p><strong>OU \u2013<\/strong> Organization Unit Name (department within the above mentioned company);<\/p>\n<p><strong>CN \u2013<\/strong> Common Name (the fully qualified domain name you want to secure with SSL certificate)<\/p>\n<p><em><strong>Note<\/strong>: Please use an asterisk in front of the domain name for Wildcard certificates (e.g. *.example.com). However, we do not recommend using Wildcard certificates on Exchange servers 2010 and later versions, since they might not work correctly.<\/em><\/p>\n<ul>\n<li><strong>KeySize<\/strong> represents the key size of the certificate\u2019s public and private key. Starting December 20, 2010, Certificate Authorities require all the certificates to have a key length of 2048- or 4096- bit.<\/li>\n<li><strong>Path<\/strong> will define the location on your Windows machine where the file with the CSR code will be saved.<\/li>\n<li><strong>PrivateKeyExportable<\/strong> will define the possibility to back up the RSA Private key later. It is useful in case you decide to install your SSL certificate on another server later.<\/li>\n<\/ul>\n<p>Here is an example of the command that should be used:<\/p>\n<p><strong><em>New-ExchangeCertificate -GenerateRequest -SubjectName &#8220;C=US, S=California, L=Los Angeles, O=SSLs.com, OU=SSL Support, CN=mail.ssl-tutorials.com&#8221; -KeySize 2048 -privatekeyexportable $true -Path C:CSRsexample.req<\/em><\/strong><\/li>\n<li>As a result, a file with a new certificate request will be generated at <em>C:CSRsexample.req <\/em>You can open the file with NotePad, copy the certificate request from the file including &#8212;&#8211;BEGIN NEW CERTIFICATE REQUEST&#8212;&#8211; and &#8212;&#8211;END NEW CERTIFICATE REQUEST&#8212;&#8211;, then paste the request into the certificate <a href=\"https:\/\/www.ssls.com\/knowledgebase\/okay-so-i-ordered-an-ssl-how-do-i-get-it-to-work-on-my-domain\/\">activation<\/a> form in your account with us.<\/li>\n<\/ol>\n<p>After the certificate is issued, you will need to install it on the server. You can check the certificate installation guide for Exchange <a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-install-an-ssl-certificate-on-exchange-2007-using-powershell\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can create the CSR code on an Exchange server using Exchange Management Shell following the steps below:Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell To generate ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-csr-generation-instructions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to generate a CSR code on Exchange 2007 using PowerShell \u2013 HelpDesk | SSLs.com<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to generate a CSR code on Exchange 2007 using PowerShell \u2013 HelpDesk | SSLs.com\" \/>\n<meta property=\"og:description\" content=\"You can create the CSR code on an Exchange server using Exchange Management Shell following the steps below:Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell To generate ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"SSL Certificate Knowledgebase | SSLs.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SSLsCom\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-08T16:34:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-20T12:24:56+00:00\" \/>\n<meta name=\"author\" content=\"sslbizdev\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SSLscom\" \/>\n<meta name=\"twitter:site\" content=\"@SSLscom\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"sslbizdev\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\"},\"author\":{\"name\":\"sslbizdev\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806\"},\"headline\":\"How to generate a CSR code on Exchange 2007 using PowerShell\",\"datePublished\":\"2019-07-08T16:34:40+00:00\",\"dateModified\":\"2022-09-20T12:24:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\"},\"wordCount\":386,\"publisher\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\"},\"articleSection\":[\"CSR generation instructions\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\",\"name\":\"How to generate a CSR code on Exchange 2007 using PowerShell \u2013 HelpDesk | SSLs.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#website\"},\"datePublished\":\"2019-07-08T16:34:40+00:00\",\"dateModified\":\"2022-09-20T12:24:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.ssls.com\/knowledgebase\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to generate a CSR code on Exchange 2007 using PowerShell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#website\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/\",\"name\":\"SSL Certificate Knowledgebase | SSLs.com\",\"description\":\"SSL Knowledgebase | SSLs.com\",\"publisher\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.ssls.com\/knowledgebase\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#organization\",\"name\":\"SSLs.com\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png\",\"contentUrl\":\"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png\",\"width\":400,\"height\":400,\"caption\":\"SSLs.com\"},\"image\":{\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/SSLsCom\",\"https:\/\/x.com\/SSLscom\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806\",\"name\":\"sslbizdev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g\",\"caption\":\"sslbizdev\"},\"url\":\"https:\/\/www.ssls.com\/knowledgebase\/author\/sslbizdev\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to generate a CSR code on Exchange 2007 using PowerShell \u2013 HelpDesk | SSLs.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/","og_locale":"en_US","og_type":"article","og_title":"How to generate a CSR code on Exchange 2007 using PowerShell \u2013 HelpDesk | SSLs.com","og_description":"You can create the CSR code on an Exchange server using Exchange Management Shell following the steps below:Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell Enter Exchange Management Shell. Click Start &gt; All Programs &gt; Microsoft Management Server 2007 &gt; Exchange Management Shell To generate ..Read more","og_url":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/","og_site_name":"SSL Certificate Knowledgebase | SSLs.com","article_publisher":"https:\/\/www.facebook.com\/SSLsCom","article_published_time":"2019-07-08T16:34:40+00:00","article_modified_time":"2022-09-20T12:24:56+00:00","author":"sslbizdev","twitter_card":"summary_large_image","twitter_creator":"@SSLscom","twitter_site":"@SSLscom","twitter_misc":{"Written by":"sslbizdev","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/#article","isPartOf":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/"},"author":{"name":"sslbizdev","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806"},"headline":"How to generate a CSR code on Exchange 2007 using PowerShell","datePublished":"2019-07-08T16:34:40+00:00","dateModified":"2022-09-20T12:24:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/"},"wordCount":386,"publisher":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization"},"articleSection":["CSR generation instructions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/","url":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/","name":"How to generate a CSR code on Exchange 2007 using PowerShell \u2013 HelpDesk | SSLs.com","isPartOf":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#website"},"datePublished":"2019-07-08T16:34:40+00:00","dateModified":"2022-09-20T12:24:56+00:00","breadcrumb":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ssls.com\/knowledgebase\/how-to-generate-a-csr-code-on-exchange-2007-using-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ssls.com\/knowledgebase\/"},{"@type":"ListItem","position":2,"name":"How to generate a CSR code on Exchange 2007 using PowerShell"}]},{"@type":"WebSite","@id":"https:\/\/www.ssls.com\/knowledgebase\/#website","url":"https:\/\/www.ssls.com\/knowledgebase\/","name":"SSL Certificate Knowledgebase | SSLs.com","description":"SSL Knowledgebase | SSLs.com","publisher":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ssls.com\/knowledgebase\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ssls.com\/knowledgebase\/#organization","name":"SSLs.com","url":"https:\/\/www.ssls.com\/knowledgebase\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/","url":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png","contentUrl":"https:\/\/www.ssls.com\/knowledgebase\/wp-content\/uploads\/2019\/07\/8WCg7Uph_400x400-1.png","width":400,"height":400,"caption":"SSLs.com"},"image":{"@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/SSLsCom","https:\/\/x.com\/SSLscom"]},{"@type":"Person","@id":"https:\/\/www.ssls.com\/knowledgebase\/#\/schema\/person\/7e29a188929740c7a59d9a1c15c18806","name":"sslbizdev","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b43c2e48b8cf4c353e91aa8232dac0c56e490f3f1eff58a7652c7d9a866e3f66?s=96&d=mm&r=g","caption":"sslbizdev"},"url":"https:\/\/www.ssls.com\/knowledgebase\/author\/sslbizdev\/"}]}},"publishpress_future_action":{"enabled":false,"date":"2026-05-10 17:18:39","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":6,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"predecessor-version":[{"id":6180,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/70\/revisions\/6180"}],"wp:attachment":[{"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ssls.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}