How to generate a CSR for Microsoft Exchange 2007

To create a Certificate Signing Request (CSR) in Exchange 2007 use the cmdlet New-ExchangeCertificate.

NOTE: Do not use the IIS console or the MMC snap-in because it will not work with Exchange 2007!

The GenerateRequest parameter for this cmdlet will generate the CSR as a PKCS#10 file. The GenerateRequest parameter contains all the details mentioned in the certificate. The CN (Common Name) parameter is the domain name.

Step 1: Start the Exchange Management Shell

Start the Exchange Management Shell as an administrator on the server where you want to install the actual SSL Certificate.

  • Start
  • All Programs
  • Microsoft Exchange Server 2007
  • Exchange Management Shell
Opstarten van het Exchange Management Shell

 

Step 2: Generate the Certificate Signing Request

If you want to use the SSL certificate in combination with Outlook Anywhere, Outlook Web Access and the autodiscovery functionality, you need to specify additional information when creating the Certificate Signing Request.

For both Outlook Anywhere and Outlook Web Access the name webmail.hereyourname.com is used. Because the autodiscover functionality will be used, you should also specify autodiscover.hereyourname.com in the certificate. Also, the local server name should be included in the certificate. This local name will Exchange Outlook use for internal communication.

To create a Certificate Request Signing with Autodiscovery and an internal communication over SSL, you must use the following command.

New-ExchangeCertificate -DomainName autodiscover.hereyourname.com -Force
 -FriendlyName Yourname
-GenerateRequest:$True
 -Keysize 2048
 -Path c:/csr.txt
 -privatekeyExportable:$true
 -SubjectName "C=NL, O=Hereyourcompany, L=Hereyourcity,
S=Hereyourprovince, CN=mail.hereyourname.com"

However, if you just like to secure Outlook Anywhere and Outlook Web Access with an SSL Certificate you can use the following command (In this case, you can use the normal Pro SSL Certificate).

New-ExchangeCertificate -DomainName mail.hereyourname.com
 -Force
 -FriendlyName Yourname
-GenerateRequest:$True
 -Keysize 2048
 -Path c:/csr.txt
 -privatekeyExportable:$true
 -SubjectName "C=NL, O=Hereyourcompany, L=Hereyourcity,
S=Hereyourprovince, CN=mail.hereyourname.com"
Exchange Management Shell New-ExchangeCertificate result


Now the file c:/csr.txt will be created. This is the CSR file.

Open CSR file with Notepad or Wordpad, copy all and paste into this tool can test CSR is valid and accurate or not: https://cryptoreport.websecurity.symantec.com/checker/views/csrCheck.jsp

Copy the entries of CSR file and send it to VietNamHost , or paste it to the online SSL order screen on VietNamHost website.

After you receive your SSL Certificate from VietNamHost, you can install it.

See Microsoft Exchange 2007 SSL Installation Instructions.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to generate a CSR in IIS 5.x or 6.x Web Server

1) From the Administrative Tools in the Control Panel, run Internet Information Services....

How to generate a CSR in Microsoft IIS 7 / 7.5

Click Start, then Administrative Tools, then Internet Information Services (IIS) Manager....

How to create a CSR on Windows Server 2012 - IIS 8 and Windows Server 2012 R2 - IIS 8.5

From the Start screen, click or search for Internet Information Services (IIS) Manager and...

SSL Certificate Country Codes

Country Codes are required when creating a Certificate Signing Request. The SSL Certificate...

How to generate a CSR for Microsoft Exchange 2010

Create your CSR with the New Exchange Certificate Wizard Start the Exchange Management Console...