Redirecting you to
Tech Document Sep 25, 2018

How to Generate CSR on Exchange 2010 PowerShell

This article will go into detail on how to generate certificate signing request on Exchange 2010 PowerShell

Method #1: Output to the Screen

  • Open Exchange Management Shell
  • Run the following command:

    -> New-ExchangeCertificate -GenerateRequest -SubjectName "C=GB, O=Comodo," -PrivateKeyExportable $true

    Note: You can copy into notepad (or any text editor) and paste the command into the shell.
    Alternatively, one can run the following command add the SANs(Subject Alternative Names) in the CSR as well. (optional)

    -> New-ExchangeCertificate -GenerateRequest -SubjectName "C=GB, O=Comodo," -DomainName, owa, -PrivateKeyExportable $true
  • CSR will be displayed on screen. You can copy and paste this information.

Method #2: Save to File

  • Open Exchange Management Shell
  • Run the following commands:

    -> $CSR = New-ExchangeCertificate -GenerateRequest -SubjectName "C=GB, O=Comodo," -PrivateKeyExportable $true

    -> Set-Content -Path "C:\2010certreq.txt" -Value $CSR
  • At the path location specified in the previous step, your CSR will be written to that file name you have provided.