To secure communication for your Exchange messaging environment, you need to perform the following tasks:
The following sections include information about securing communication for these two situations.
To secure data transmitted between the client and the front-end server, it is highly recommended that you enable the front-end server to use Secure Sockets Layer (SSL). In addition, to ensure that user data is always secure, you should disable access to the front-end server without SSL (this option can be set in the SSL configuration). When using basic authentication, it is critical to protect the network traffic by using SSL to protect user passwords from network packet sniffing.
Note: |
|---|
|
If you do not use SSL between clients and the front-end server, HTTP data transmission to your front-end server will not be secure. It is highly recommended that you configure the front-end server to require SSL.
|
It is recommended that you obtain an SSL certificate by purchasing a certificate from a third-party certification authority (CA). Purchasing a certificate from a certification authority is the preferred method because the majority of browsers trust many of these certification authorities.
As an alternative, you can use Certificate Services to install your own certification authorities. Although installing your own certification authority may be less expensive, browsers will not trust your certificate, and users will receive a warning message indicating that the certificate is not trusted. For more information about SSL, see Microsoft Knowledge Base article 320291, "XCCC: Turning On SSL for Exchange 2000 Server Outlook Web Access" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=320291).
Using Secure Sockets Layer
To protect outbound and inbound mail, deploy SSL to encrypt messaging traffic. You can configure SSL security features on an Exchange server to verify the integrity of your content, verify the identity of users, and encrypt network transmissions. Exchange, just like any Web server, requires a valid server certificate to establish SSL communications. You can use the Web Server Certificate Wizard to either generate a certificate request file (NewKeyRq.txt, by default) that you can send to a certification authority, or to generate a request for an online certification authority, such as Certificate Services.
If you are not using Certificate Services to issue your own server certificates, a third-party certification authority must approve your request and issue your server certificate. For more information about server certificates, see "Obtaining and Installing Server Certificates" later in this topic. Depending on the level of identification assurance offered by your server certificate, you can expect to wait several days to several months for the certification authority to approve your request and send you a certificate file. You can have only one server certificate for each Web site.
After you receive a server certificate file, use the Web Server Certificate Wizard to install it. The installation process attaches (or binds) your certificate to a Web site.
For detailed steps, see How to Set Up SSL on a Server.
Important: |
|---|
You must be a member of the Administrators group on the local computer to perform the above procedure, or you must have been delegated the appropriate authority. As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Run as command to run IIS Manager as an administrator. From the command prompt, type the following command: runas /user:administrative_accountname "mmc%systemroot%\system32\inetsrv\iis.msc"
|
If you require 128-bit key encryption, your users must use Web browsers that support 128-bit encryption. For information about upgrading to 128-bit encryption capability, see the Microsoft Product Support Services Web site (http://go.microsoft.com/fwlink/?linkid=14898).
Obtaining and Installing Server Certificates
You can obtain server certificates from an outside certification authority (CA), or you can issue your own server certificates using Certificate Services. After you obtain a server certificate, you can install it. When you use the Web Server Certificate Wizard to obtain and install a server certificate, the process is referred to as creating and assigning a server certificate.
For detailed steps, see How to Obtain a Server Certificate from a Certification Authority.
This section explains the issues to consider when deciding whether to obtain your server certificates from an outside CA, or to issue your own server certificates. This section includes the following information:
-
Obtaining server certificates from a certification authority
-
Issuing your own server certificates
-
Installing server certificates
-
Backing up server certificates
Obtaining Server Certificates from a Certification Authority
If you are replacing your current server certificate, IIS continues to use that certificate until the new request has been completed. When you are choosing a CA, consider the following questions:
-
Will the CA be able to issue a certificate that is compatible with all of the browsers used to access my server?
-
Is the CA a recognized and trusted organization?
-
How will the CA provide verification of my identity?
-
Does the CA have a system for receiving online certificate requests, such as requests generated by the Web Server Certificate Wizard?
-
How much will the certificate cost initially, and how much will renewal or other services cost?
-
Is the CA familiar with my organization or my company's business interests?
Note: |
|---|
|
Some certification authorities require you to prove your identity before they will process your request or issue a certificate.
|
Issuing Your Own Server Certificates
When deciding whether to issue your own server certificates, consider the following:
-
Understand that Certificate Services accommodates different certificate formats and provides for auditing and logging of certificate-related activity.
-
Compare the cost of issuing your own certificates against the cost of buying a certificate from a certification authority.
-
Remember that your organization will require an initial adjustment period to learn, implement, and integrate Certificate Services with existing security systems and policies.
-
Assess the willingness of your connecting clients to trust your organization as a certificate supplier.
Use Certificate Services to create a customizable service for issuing and managing certificates. You can create server certificates for the Internet or for corporate intranets, giving your organization complete control over certificate management policies. For more information, see Certificate Services in Windows Server™ 2003 Help.
Online requests for server certificates can only be made to local and remote Enterprise Certificate Services and remote stand-alone Certificate Services. The Web Server Certificate Wizard does not recognize a stand-alone installation of Certificate Services on the same computer when requesting a certificate. If you need to use Web Server Certificate Wizard on the same computer as a stand-alone Certificate Services installation, use the offline certificate request to save the request to a file and then process it as an offline request. For more information, see Certificate Services in Windows Server 2003 Help.
Note: |
|---|
|
If you open a Server Gated Cryptography (SGC) certificate, you may receive the following notice on the General tab: The certificate has failed to verify for all of its intended purposes. This notice is issued because of the way SGC certificates interact with Microsoft Windows® and does not necessarily indicate that the certificate does not work properly.
|
Installing Server Certificates
After obtaining a server certificate from a CA, or after issuing your own server certificate using Certificate Services, use the Web Server Certificate Wizard to install it.
Backing Up Server Certificates
You can use the Web Server Certificate Wizard to back up server certificates. Because IIS works closely with Windows, you can use Certificate Manager, which is called Certificates in Microsoft Management Console (MMC), to export and back up your server certificates.
For detailed steps about how to add Certificate Manager to an empty MMC, see How to Add Certificate Manager to Microsoft Management Console.
After you install Certificate Manager, you can back up your certificate. For detailed steps, see How to Back Up Your Server Certificate.
After you configure your network to issue server certificates, you need to secure your Exchange front-end server and the services for your Exchange server by requiring SSL communication to the Exchange front-end server. The following section describes how to enable SSL for your default Web site.
Enabling SSL for the Default Web Site
After you obtain an SSL certificate to use either with your Exchange front-end server on the default Web site or on the site where you host the \RPC, \OMA, \Microsoft-Server-ActiveSync, \Exchange, \Exchweb, and \Public virtual directories, you can enable the default Web site to require SSL.
For detailed steps, see How to Configure Virtual Directories to Use SSL.
Note: |
|---|
|
The \Exchange, \Exchweb, \Public, \OMA, and \Microsoft-Server-ActiveSync virtual directories are installed by default on any Exchange 2003 installation. The \RPC virtual directory for RPC over HTTP communication is installed manually when you configure Exchange to support RPC over HTTP. For information about how to set up Exchange to use RPC over HTTP, see Exchange Server 2003 RPC over HTTP Deployment Scenarios (http://go.microsoft.com/fwlink/?LinkId=47577).
|
After you complete this procedure, all virtual directories on the Exchange front-end server on the default Web site are configured to use SSL.
After you secure your communications between the client computers and the Exchange front-end servers, you must secure the communications between the Exchange front-end server and back-end servers in your organization. HTTP, POP, and IMAP communications between the front-end server and any server with which the front-end server communicates (such as back-end servers, domain controllers, and global catalog servers) is not encrypted. When the front-end and back-end servers are in a trusted physical or switched network, this lack of encryption is not a concern. However, if front-end and back-end servers are kept in separate subnets, network traffic may pass over unsecured areas of the network. The security risk increases when there is greater physical distance between the front-end and back-end servers. In this case, it is recommended that this traffic be encrypted to protect passwords and data.
Using IPSec to Encrypt IP Traffic
Windows 2000 supports Internet Protocol security (IPSec), which is an Internet standard that allows a server to encrypt any IP traffic, except traffic that uses broadcast or multicast IP addresses. Generally, you use IPSec to encrypt HTTP traffic; however, you can also use IPSec to encrypt Lightweight Directory Access Protocol (LDAP), RPC, POP, and IMAP traffic. With IPSec you can:
-
Configure two servers running Windows 2000 to require trusted network access.
-
Transfer data that is protected from modification (using a cryptographic checksum on every packet).
-
Encrypt any traffic between the two servers at the IP layer.
In a front-end and back-end topology, you can use IPSec to encrypt traffic between the front-end and back-end servers that would otherwise not be encrypted. For more information about configuring IPSec with firewalls, see Microsoft Knowledge Base article 233256, "How to Enable IPSec Traffic Through a Firewall" (http://go.microsoft.com/fwlink/?linkid=3052&kbid=233256).