I needed to great new certificate for my Exchange 2007 server. As I was not that familiar with Exchange Management Shell at that time, I decided to dig around to get some help. Here’s what I found. These pages are quite easy to understand so I will not rewrite them. Instead I’ll try to post a small explanation with the link:
* First I suggest to read little about SAN (Subject Alternative Names) and SAN Certificates. You can obtain the needed information from here.
* Here is an explanation how to use CSR tool to generate a code for your certificate request.
* This is the DigiCert’s Exchange 2007 CSR Tool. You can use it to generate a command and then copy it to Exchange Management Shell.
* Here is a small how-to about how to install your certificate to your Exchange 2007 server using Exchange Management Shell.
* Exchange 2007 has IIS7 installed as well + IIS7 Management Tools (if I remember correctly). You can use this page to get some info how to install it using IIS7 Management Tools.
If you plan to deploy Microsoft Exchange 2007 to your company’s infrastructure and you plan to use Windows Server 2008 as operating system, then there are some prerequisites you need to sort out. First you need to install Active Directory Domain Services remote management tools. That’s before preparing the schema or Active Directory. You can use this command to do it:
ServerManagerCmd -i RSAT-ADDS
The information how to prepare Active Directory or Domains you can get from here. Now it depends what kind of roles do you plan to install on your Exchange 2007 server, but if you are doing a fresh install and you don’t have any Exchange Servers deployed previously then here’s what you need to install. It applies to all roles except Edge Transport server which you can’t deploy together with other roles. So the prerequisites you need to install on the computer that will host the Hub Transport, Client Access, Unified Messaging, Mailbox Server and Exchange Management tools roles:
1. First you need to install Windows PowerShell: ServerManagerCmd -i PowerShell
2. Second you need to install IIS: ServerManagerCmd -i Web-Server
ServerManagerCmd -i Web-ISAPI-Ext
ServerManagerCmd -i Web-Metabase
ServerManagerCMd -i Web-Lgcy-Mgmt-Console
ServerManagerCmd -i Web-Basic-Auth
ServerManagerCmd -i Web-Digest-Auth
ServerManagerCmd -i Web-Windows-Auth
ServerManagerCmd -i Web-Dyn-Compression
And for unified messaging the desktop experience:
ServerManagerCmd -i Desktop-Experience
3. If the mailbox server fill be clustered then you need to install Failover Clustering with this command: ServerManagerCmd -i Failover-Clustering. But then bare in mind that you cannot install any other roles.
4. If you plan to use this server as a host for Outlook Anywhere then you need install the RPC over HTTP proxy feature: ServerManagerCmd -i RPC-over-HTTP-proxy
5. Don’t worry about Exchange Managemnt tools, previous requisites will apply on it as well. Though you will need only 3 things to run Management tools, which are Windows Powershell plus a couple of IIS features. I will list them here:
First Powershell install command: ServerManagerCmd -i PowerShell
Second IIS install commands: ServerManagerCmd -i Web-Metabase; ServerManagerCmd -i Lgcy-Mgmt-Console.
Now to install Edge Transport role on the server, here is the prerequisites you need to install:
1. Install Powershell with this command: ServerManagerCmd -i PowerShell
2. And install Active Directory Lightweight Directory Services with this Command: ServerManagerCmd -i ADLDS
And to install Exchange Management Tools on Windows Vista here’s what you need to do first:
1. Download and install Windows Powershell. You can get it from here.
2. Then go to Control Panel and open Programs and Features.
3. From the Tasks area click on Turn Windows Features on or off.
4. Find Internet Information Services -> Web Management Tools -> IIS 6 Management Compatibility and select IIS 6 Management Console, IIS 6 Metabase and IIS 6 configuration compatibility and click ok.
PS! All the server manager commands are run in Command Prompt.