Configure SSL on Outlook Mobile Access (OMA)

How do I configure OMA to use SSL?
Outlook Mobile Access (or OMA for short) is a new feature found in Exchange Server 2003 that allows you to connect to your mailbox by means of almost any mobile phone or mobile device–based browsers that support HTML, XHTML, or Compact Hypertext Markup Language (cHTML). These include a wide variety of mobile devices such as mobile phones, Palm OS based devices and Pocket PC based devices.

You can read more about OMA in the featured links at the bottom of this article.
OMA transmits traffic to and from the web browser on the mobile device in HTTP (based upon TCP, port 80) and in clear text, meaning that anyone could potentially “listen” to your talk and grab frames and valuable information from the net.
To secure the transmission of information between Exchange Server 2003 and Outlook Mobile Access (OMA) clients, you can encrypt the information being transmitted by using SSL (Secure Sockets Layer).

Configure SSL

To configure SSL for Outlook Mobile Access on Exchange Server 2003 complete the following steps:

  1. Click Start, point to All Programs, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. In Internet Services Manager, in the console tree, expand SERVERNAME (your local computer), and then expand Web Sites.
  3. In the console tree, right-click Default Web Site, and then click Properties.

ssl small

  1. In the Default Web Site Properties dialog box, click Directory Security.

ssl1 small

  1. On the Directory Security tab, click Server Certificate.
  2. In the Welcome to the Web Server Certificate Wizard, on the Welcome page, click Next.
  3. On the Server Certificate page, verify that Create a new certificate is selected, and then click Next.

ssl2 small

  1. On the Delayed or Immediate Request page, click Send the request immediately to an online certification authority, and then click Next.

ssl3 small
Note: If you dont have a Certificate Authority (CA) installed on your server or on a different server on the network you can prepare the request but youll need to manually send it to the CA.

  1. On the Name and Security Settings page, in the Name box, type yourservername.domainname.com (or .net, .org, .mil etc. Use your own registered domain name, the one you want people to use when browsing to your site) and then click Next.

ssl5 small
Important note – Internet use: You must make sure that either the Name or the Common Name fields (one of them or both of them) exactly match the external FQDN of the website. For example, if your servers NetBIOS name is SERVER1, and it is located in the MYINTERNALDOM.LOCAL domain, but it will host a website that will require users to enter WWW.KUKU.CO.IL to reach it, you must then use WWW.KUKU.CO.IL as the Name or Common Name in the certificate request wizard, and DO NOT use SERVER1.MYINTERNALDOM.LOCAL.
Important note – Intranet use: For Intranet-only purposes you CAN use the internal FQDN of the server, or even just its NetBIOS name. For example, if your servers NetBIOS name is SERVER1, and it is located in the MYINTERNALDOM.LOCAL domain, you can use SERVER1.MYINTERNALDOM.LOCAL or just SERVER1 for the Name or the Common Name fields.
You can also change the Bit Length for the encryption key if you want.

  1. On the Organization Information page, in the Organization box, type your own company name. In the Organizational Unit box, type a descriptive name and then click Next.

ssl4 small

  1. On the Your Sites Common Name page, in the Common name box, type yourservername.domainname.com (see important note in step #9) and then click Next.

ssl6 small

  1. On the Geographical Information page, in the State/province box, type the required info and then click Next.

ssl7 small

  1. On the SSL Port page, in the SSL port this web site should use box, verify that 443 is specified, and then click Next.

ssl8 small

  1. On the Choose a Certification Authority page, in the Certification Authorities box, verify that your online CA is selected, and then click Next.

ssl9 small

  1. On the Certificate Request Submission page, click Next to submit the request, and then click Finish to complete the wizard.

ssl15 small

To use the certificate to secure OMA

  1. In Internet Services Manager, in the console tree, expand SERVERNAME (your local computer), and then expand Web Sites, then expand Default Web Site.
  2. In the console tree, right-click the OMA virtual directory, and then click Properties.
  3. In the OMA Properties dialog box, on the Directory Security tab, in the Secure communications area, click Edit.

Note: If EDIT is grayed out then you did not successfully install a certificate for the Default Web Site. Go back to the beginning of the article and follow my instructions.

  1. In the Secure Communications dialog box, click the Require secure channel (SSL) check box, click the Require 128-bit encryption check box, and then click OK.

ssl11 small

  1. In the OMA Properties dialog box, click OK all the way out, and close Internet Information Services (IIS) Manager. Note that you might want to restart the World Wide Web Publishing service just in case, although generally this is not required.

Verify that SSL is working

To test your new settings connect your mobile device to the Internet (or to your corporate LAN), open a browser and type your servers FQDN (or NetBIOS name, if on the LAN) + /OMA in the address bar (for example: http://server200/oma).

Note: Make sure youve followed the important note in step #9 above.
Since you still used HTTP (plain text http, using TCP port 80) youll get the following error message:
oma ssl small
Now re-type the URL by using HTTPS instead of HTTP. You should be able to view the OWA website.
Note: The above example is shown from a Pocket Explorer emulator, but is should look the same on your mobile phone or Palm OS/Pocket PC device.
If configured correctly, you should be able to log into your mailbox by entering the right username in the form of DOMAIN\USERNAME and then the password.
oma big13 small
After successfully authenticating you can access your mailbox.
oma ssl2 small
Note: Make sure you renew your certificate a few weeks before it expires in order to prevent mishaps like this one: Expired SSL Website Certificate.
Thats it, youre set up and ready to go.

Related articles

You may find these related articles of interest to you: