Cisco Unified Presence, Release 7.x -- How to Configure Security between Cisco Unified Presence and the Microsoft Exchange Server
From DocWiki
Main page: Cisco Unified Presence, Release 7.x
Previous Topic
While the certificate exchange process below applies to Windows 2003 and Windows 2008, note that some of the configuration procedures will differ depending on your platform.
Installing the CA Service
The Certificate Authority can be the same as the Exchange server. However, Cisco recommends you to use a different Windows server to run the CA.
Installing the CA on Windows Server 2003
Before You Begin
Ensure that you have Windows Server disc 1 and SP1 discs.
Procedure
- Select Start > Control Panel > Add or Remove Programs.
- Click Add/Remove Windows Components in the Add or Remove Programs window.
- Check Certificate Services under Components.
- Click Yes when the Warning displays about domain membership.
- Perform the following actions in the CA Type window:
- Select Stand-alone Root CA.
- Click Next.
- Perform the following actions in the CA Identifying Information window:
- Enter the name of the server in the Common Name field for the CA Server. If there is no DNS, type the IP address.
- Click Next.
- Accept the defaults settings in the Certificate Database Settings window, and click Next.
- Click Yes when you are prompted to stop Internet Information Services.
- Click Yes when you are prompted to enable Active Server Pages (ASP).
- Click Finish after the installation process completes.
Troubleshooting Tips
Remember that the CA is a third-party authority. The common name of the CA should not be the same as the common name used to generate a CSR.
Related Topics
What To Do Next
Downloading the Root Certificate
Installing the CA on Windows Server 2008
Procedure
- Select Start > Administrative Tools > Server Manager.
- Click Roles in the console tree.
- Select Action > Add Roles.
- Perform the following actions to complete the Add Roles wizard:
Window Configuration Steps Before You Begin Window
Page 1 of 13- Ensure that you have completed all prerequisites listed in the window.
- Click Next.
Select Server Roles Window
Page 2 of 13- Check Active Directory Certificate Services.
- Click Next.
Introduction Window
Page 3 of 13Click Next.
Select Role Services Window
Page 4 of 131. Check these check boxes:
- Certificate Authority
- Certificate Authority Web Enrollment
- Online Responder
2. Click Next.
Specify Setup Type Window
Page 5 of 13Select Standalone.
Specify CA Type Window
Page 6 of 13Select Root CA.
Set Up Private Key Window
Page 7 of 13Select Create a new private key.
Configure Cryptography for CA Window
Page 8 of 13Select the default cryptographic service provider.
Configure CA Name Window
Page 9 of 13Enter a common name to identify the CA.
Set Validity Period Window
Page 10 of 13Set the validity period for the certificate generated for the CA.
Note: The CA will issue valid certificates only to the specified expiration date.
Configure Certificate Database Window
Page 11 of 13Select the default certificate database locations.
Confirm Installation Selections Window
Page 12 of 13Click Install.
Installation Results Window
Page 13 of 13- Verify that the Installation Succeeded message displays for all components.
- Click Close.
Note: Active Directory Certificate Services is now listed as one of the roles on the Server Manager.
Related Topics
What To Do Next
Downloading the Root Certificate
Downloading the Root Certificate
Before You Begin
Install the CA service.
Procedure
1. Log in to your CA server and open a web browser. 2. Open the URL specific to your windows platform type:
- Windows server 2003 - http://127.0.0.1/certsrv
- Windows server 2008 - https://127.0.0.1/certsrv
3. Select Download a CA certificate, certificate chain, or CRL.
4. For the Encoding Method, select Base 64.
5. Select Download CA Certificate.
6. Save the certificate, certnew.cer, to the local disk.
Troubleshooting Tips
If you do not know the Subject Common Name (CN) of the root certificate, you can use an external certificate management tool to find this information. On a Windows operating system, right-click the certificate file with a .CER extension and open the certificate properties.
Related Topics
What To Do Next
Uploading the Root Certificate to the Cisco Unified Presence Server
Uploading the Root Certificate to the Cisco Unified Presence Server
Cisco Unified Presence allows you to upload Exchange server trust certificates with or without a Subject Common Name (CN).
Before You Begin
- Download the root certificate.
- If you have a third-party CA-signed Exchange server certificate, note that you must upload all CA certificates in the certificate chain to Cisco Unified Presence as a Presence Engine (PE) trust certificate.
Procedure
- Complete the steps based on your choice of upload method:
If a certificate is: Upload the certificate via: Actions Not yet uploaded, and has no Subject CN
Presence Gateway window in Cisco Unified Presence Administration
Note: You can upload any number of root CA certificates but you must upload five certificates at a time.- Select Presence > Gateways.
- Click Add New in the Find and List Presence Gateways window.
- Enter the appropriate value in the Trust Certificate Subject CN field. Ensure that the IIS certificate Subject CN is the same as the Host (URI or IP address) you are trying to reach. This parameter is subsequently used in the configuration of the presence gateway.
- Perform one of the following actions in the Upload Certificate(s) field.
- Enter the full path of the file(s) that you want to upload.
- Click Browse to locate the file(s) that you require.
Already uploaded, and has a Subject CN
Cisco Unified Operating System Administration
- Copy or FTP the certnew.cer certificate file to the computer that you use to administer your Cisco Unified Presence server.
- From the Navigation menu on the Cisco Unified Presence Administration login window, select Cisco Unified OS Administration and click Go.
- Enter your username and password for Cisco Unified Operating System Administration and click Login.
- Select Security > Certificate Management.
- Click Upload Certificate in the Certificate List window.
- Perform the following actions when the Upload Certificate pop-up window displays:
- Select Presence Engine Trust from the Certificate Name list box.
- Enter the root certificate name without any extension.
7. Click Browse and select certnew.cer.
8. Click Upload File.
2. Restart the Presence Engine and SIP Proxy service after you upload all Exchange trust certificates.
Troubleshooting Tips
You must restart the Presence Engine and SIP Proxy for all types of certificates if the Meeting Notification feature is used. After you upload your certificates, go to Cisco Unified Serviceability and restart the Presence Engine first followed by the Proxy restart.
Related Topics
- Downloading the Root Certificate
- Getting More Information
- Configuring a Presence Gateway on the Cisco Unified Presence Server
What To Do Next
Generating a CSR on IIS of Exchange Server
Generating a CSR on IIS of Exchange Server
Generating a CSR - Running Window Server 2003
You must generate a Certificate Signing Request on the IIS server for Exchange, which is subsequently signed by the CA server.
Before You Begin
Upload the root certificate to Cisco Unified Presence.
Procedure
- From Administrative Tools, open Internet Information Services.\
- Complete the following steps in the Internet Information Services window:
- Right-click Default Web Site
- Select Properties.
- Complete the following steps in the Default Web Site Properties window:
- Select the Directory Security tab.
- Click Server Certificate.
- Click Next when the Web Server Certificate Wizard window displays.
- Perform the following actions to complete the Web Server Certificate Wizard:
Window Configuration Steps Server Certificate Window
Page 1 of 9- Select Create a new certificate.
- Click Next.
Delayed or Immediate Request Window
Page 2 of 9- Select Prepare the request now, but send it later.
- Click Next.
Name and Security Settings Window
Page 3 of 9- Accept the Default Web Site certificate name.
- Select 1024 for the bit length.# Click Next.
Organization Information Window
Page 4 of 9- Enter your Company name in the Organization field.
- Enter the organizational unit of your company in the Organizational Unit field.
- Click Next.
Your Site's Common Name Window
Page 5 of 9- For Common Name, enter the Exchange Server hostname or IP address.
- Note: The IIS certificate Common Name that you enter is used to configure the Presence Gateway on Cisco Unified Presence, and must be identical to the Host (URI or IP address) you are trying to reach.
2. Click Next.
Geographical Information Window
Page 6 of 9- Enter your geographical information, as follows:
- Country/Region
- State/province
- City/locality
2. Click Next.
Certificate Request File Name Window
Page 7 of 9- Enter an appropriate filename for the certificate request.
- Click Next.
- Note: Make sure that you save the CSR without any extension and only use Notepad to open the file.
Request File Summary Window
Page 8 of 9- Review your information about the Request File Summary window.
- Click Next.
Web Server Certificate Completion Window
Page 9 of 9Click Finish.
Related Topics
What To Do Next
Submitting the CSR to the CA Server
Generating a CSR - Running Window Server 2008
You must generate a Certificate Signing Request on the IIS server for Exchange, which is subsequently signed by the CA server.
Before You Begin
Upload the root certificate to Cisco Unified Presence.
Procedure
- From Administrative Tools, open Internet Information Services (IIS) Manager.
- Select the Exchange Server under Connections in the left frame of the IIS Manager.
- Double-click Server Certificates.
- Select Create Certificate Request under Actions in the right frame of the IIS Manager.
- Perform the following actions to complete the Request Certificate Wizard:
Window Configuration Steps Distinguished Name Properties Window
Page 1 of 51. For Common Name, enter the Exchange Server hostname or IP address.
- Note: The IIS certificate Common Name that you enter is used to configure the Presence Gateway on Cisco Unified Presence, and must be identical to the Host (URI or IP address) you are trying to reach.
2. Enter your Company name in the Organization field.
3. Enter the organizational unit that your company belongs to in the Organizational Unit field.
4. Enter your geographical information, as follows:
- City/locality
- State/province
- Country/Region
5. Click Next.
Cryptographic Service Provider Properties Window
Page 2 of 5- Accept the default Cryptographic service provider.
- Select 1024 for the bit length.
- Click Next.
Certificate Request File Name Window
Page 3 of 5- Enter an appropriate filename for the certificate request.
- Click Next.
- Note: Make sure that you save the CSR without any extension and only use Notepad to open the file.
Request File Summary Window
Page 4 of 5- Confirm that the information is correct in the Request File Summary window.
- Click Next.
Request Certificate Completion Window
Page 5 of 5Click Finish.
Related Topics
What To Do Next
Submitting the CSR to the CA Server
Submitting the CSR to the CA Server
We recommend that the default SSL certificate, generated for Exchange on IIS, should use the Fully Qualified Domain Name (FQDN) of the Exchange server and be signed by a Certificate Authority that is trusted by Cisco Unified Presence. This procedure allows the CA to sign the CSR from Exchange IIS. Perform the following procedure on your CA server, and configure the FQDN of the Exchange server in the:
- Exchange certificate.
- Outlook Gateway field in Cisco Unified Presence Administration.
Before You Begin
Generate a CSR on IIS of the Exchange server.
Procedure
1. Copy the certificate request file to your CA server.
2. Open the following URL:
- http://local-server/certserv
- or
- http://127.0.0.1/certsrv
3. Select Request a certificate.
4. Select advanced certificate request.
5. Select Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file.
6. Using a text editor like Notepad, open the CSR that you generated.
7. Copy all information from and including
- -----BEGIN CERTIFICATE REQUEST
- to and including
- END CERTIFICATE REQUEST-----
8. Paste the content of the CSR into the Certificate Request text box.
9. Click Submit.
10. In Administrative Tools, select Start > Administrative Tools > Certification > Authority >CA name > Pending request to open the Certification Authority. The Certificate Authority window displays the request you just submitted under Pending Requests.
11. Right-click on your request, and perform the following actions:
- Navigate to All Tasks.
- Select Issue.
- Click Issued certificates and verify that your certificate has been issued.
Related Topics
What To Do Next
Downloading the Signed Certificate.
Downloading the Signed Certificate
Before You Begin
Submit the CSR to the CA server.
Procedure
- In Administrative Tools, open the Certification Authority. The Certificate Request that you just issued displays in Issued Requests.
- Right click the request and select Open.
- Click the Details tab.
- Click Copy to File.
- Click Next when the Certificate Export Wizard displays.
- Perform the following actions to complete the Certificate Export Wizard:
Window Configuration Steps Export File Format Window
Page 1 of 3- Select Base-64 encoded X.509.
- Click Next.
File to Export Window
Page 2 of 3- Enter the location where you want to store the certificate and use cert.cer for the certificate name, for example, c:/cert.cer.
- Click Next.
Certificate Export Wizard Completion Window
Page 3 of 3- Review the summary information.
- Click Finish.
7. Copy or FTP the cert.cer to the computer that you use to administer Cisco Unified Presence.
Related Topics
What To Do Next
Uploading the Signed Certificate onto Exchange IIS
Uploading the Signed Certificate onto Exchange IIS
- Uploading the Signed Certificate - Running Windows 2003
- Uploading the Signed Certificate - Running Windows 2008
Uploading the Signed Certificate - Running Windows 2003
This procedure takes the signed CSR and uploads it onto IIS. To upload the signed certificate, perform the following step on the computer that you use to administer Cisco Unified Presence.
Before You Begin
Download the signed certificate.
Procedure
- From Administrative Tools, open Internet Information Services.
- Complete the following steps in the Internet Information Services window:
- Right click Default Web Site
- Select Properties.
- Complete the following steps in the Default Web Site Properties window:
- Select the Directory Security tab.
- Click Server Certificate.
- Click Next when the Web Server Certificate Wizard window displays.
- Perform the following actions to complete the Web Server Certificate Wizard:
Window Configuration Steps Pending Certificate Request Window
Page 1 of 4- Select Process the pending request and install the certificate.
- Click Next.
Process a Pending Request Window
Page 2 of 4- Click Browse to locate your certificate.
- Navigate to the correct path and filename.
- Click Next.
SSL Port Window
Page 3 of 4- Enter 443 for the SSL port.
- Click Next.
Web Server Certificate Completion Window
Page 4 of 4Click Finish.
Troubleshooting Tips
If your certificate is not in the trusted certificates store, the signed CSR will not be trusted. To establish trust, perform the following actions:
- Click View Certificate in the Directory Security tab.
- Select Details > Highlight root certificate, and click View.
- Select the Details tab for the root certificate and install the certificate.
Uploading the Signed Certificate - Running Windows 2008
This procedure takes the signed CSR and uploads it onto IIS. To upload the signed certificate, perform the following step on the computer that you use to administer Cisco Unified Presence.
Before You Begin
Download the signed certificate.
Procedure
- From Administrative Tools, open Internet Information Services (IIS) Manager.
- Select the Exchange Server under Connections in the left frame of the IIS Manager.
- Double-click Server Certificates.
- Select Complete Certificate Request under Actions in the right frame of the IIS Manager.
- Perform the following actions in the Specify Certificate Authority Response window:
- Click the ellipsis '[...] 'to locate your certificate.
- Navigate to the correct path and filename.
- Enter a user-friendly name for your certificate.
- Click Ok. The certificate that you completed will display in the certificate list.
- Complete the following steps in the Internet Information Services window to bind the certificate:
- Click Default Web Site.
- Select Bindings under Actions in the right frame of the IIS Manager.
- Complete the following steps in the Site Bindings window:
- Select https.
- Click Edit.
- Complete the following steps in the Edit Site Binding window:
- Select the certificate that you just created from the SSL certificate list box. The "friendly name" that you applied to the certificate will display.
- Click Ok.