Generate CSR Microsoft Exchange Server 2010
In Exchange 2010 there are two ways to generate a CSR. Option 1 is to
use the New Exchange Certificate Wizard GUI (recommended) and options 2 is by using the
Exchange Management Shell. We will discuss both.
Option 1: Create your CSR with the New Exchange Certificate Wizard (recommended)
- Start the Exchange Management Console by going to Start > Programs > Microsoft Exchange 2010 > Exchange Management Console.
- Click the link to "Manage Databases."
- Select "Server Configuration" in the menu on the left, and then "New
Exchange Certificate" from the actions menu on the right.
- When you are prompted for a friendly name, enter a name by which you will
remember this certificate in the future. This name will not become part of the
CSR Request, but will be used to identify the certificate during installation.
- For the Domain Scope, check the box if you will be generating the CSR for a
Wildcard SSL Certificate. Otherwise, just go to the next screen. If you do select the box for a wildcard, skip to step 7.
- In the Exchange Configuration menu, select the services for which you
will be using your SSL Certificate. Enter the names through which you connect
to those services, when you are prompted.
At the next screen, you will be able to review a list of the names
which Exchange 2010 suggests you include in your certificate request.
You may also add additional names at this time.
-
Your Organization should be the legal name of your company that is registered
with your local government registration authority.
Your Organization unit is your department within the organization (put anything in
here, it won't be included in the final certificate).
If you do not have a state/province, enter the city information again in this space.
- Click "Browse" to save the CSR to your computer as a .req file, then Save, then Next, then New, and then Finish.
- Open the CSR text file you just created (NewRequest.req)
in a simple text editor such as Notepad (do not open in Word).
Below is an example of what your CSR will look like. This
is an example only and cannot be used to generate your SSL certificate.
-----BEGIN CERTIFICATE REQUEST-----
MIIB3zCCAUgCAQAwgZ4xCzAJBgNVBAYTAlVTMRAwDgYDVQQIEwdHZW9yZ2lhMRAw
DgYDVQQHEwdBdGxhbnRhMREwDwYDVQQKEwhHZW9DZXJ0czEaMBgGA1UECxMRSW5l
cm5ldCBNYXJrZXRpbmcxGTAXBgNVBAMTEHd3dy5nZW9jZXJ0cy5jb20xITAfBgkq
hkiG9w0BCQEWEmFkbWluQGdlb2NlcnRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB
jQAwgYkCgYEA5KOi+RnRzBuBQeFYjrwZg1sfT7zr4L8j0Khuoj621x+lGBmFC76c
kGclUIQBmuyp9T9NrNqAjGtEmgdFr6cWLJtgXgi+BaZDLX9BMYF49NuTggNoEUMX
crQRAENHb2YthG2SEcF5p98RNcDPzWOA3a4AMvgkxDlDGYUhbcQhnt0CAwEAAaAA
MA0GCSqGSIb3DQEBBAUAA4GBAIapt6Tw0BTYUwEAX0/oKvaaN/ghErR85jdW7xOD
b1hL0yNfb495A7e/IQyBEP5a/v+QUOtibHS4geiPhH9etAI+DSQmctjbf6dMGJql
gCXGwlsTbjPOSmNT+/X2Uvf1BlplwqAMDghEuFHsjshlypz1NEg94ri2K9N1VrBs
+iAv
-----END CERTIFICATE REQUEST-----
Option 2: Create your CSR with the Exchange Management Shell
- Start the Microsoft Exchange Management Shell by clicking Start > Programs > Microsoft Exchange 2010 > Exchange Management Shell
-
From the command line, type the following:
New-ExchangeCertificate -GenerateRequest -KeySize 2048 -SubjectName "c=US,
l=City or Locality, s=State or Province, o=The Legal Name of your Organization, cn=Your_Domain.com"
-PrivateKeyExportable:$true
Tip: The 2048 in the command above is the key
bit length. GeoTrust recommends a key bit length of 2048.
This command should be entered into the management shell as a single line without using
returns until the end. Replace the details listed in this sample command with the details of your own organization.
- Type the following line immediately after generating the file:
Set-Content -path "C:\your_CSR_name.csr" -Value $Data
|
CSR Legend
When generating your CSR you will be asked to input
a few pieces of info. Below are some common fields with descriptions and examples.
(also see About the CSR)
Common Name (CN)
The fully-qualified-domain name for your certificate. Examples include...
- www.domain.com
- owa.domain.net
- secure.domain.ca
- *.domain.com (for wildcard SSL)
Organization (O)
The exact legal name of your organization. Do not abbreviate your
organization's name. Example: Metro Realty LLC or Flowers by Jenny
Organizational Unit (OU)
The section or division of the organization. Example: Sales, Support, Customer Service
City or Locality (L)
The city where your organization is legally located. Cannot be
abbreviated. Example: Atlanta
State (S) or Province
The state or province where your organization is legally located. Cannot
be abbreviated.. Example: Georgia
Country (C)
The two-letter ISO Country Code abbreviation for your country. Example: US, CA, GB (must be two-letters)
Email
Any email address. This field is arbitrary but must be filled in. GeoTrust
will not use this email address to process your order. Example: user@example.com
Key Bit Length
The key bit length has to do with the initial key exchange, not the
encryption strength of your certificate. GeoTrust recommends a key bit length of 2048.
|