Publishing OWA 2003 with ISA Server 2004


How can I publish OWA 2003 with ISA Server 2004?
Publishing OWA 2003 with an internal certificate (issued by an unknown/un-trusted CA)
Internet Security and Acceleration Server 2004 has made a significant breakthrough in publishing Secured web-sites in general and Outlook Web Accesses specifically. We don’t need another exchange server for use as a front-end server if the only job we need it for is protecting our internal exchange server which holds our mailboxes.
Before we begin the publishing process, we need to make sure we already have Form-Based OWA, already working with SSL (See Configuring OWA 2003 with SSL).

  1. In case the ISA server is not part of the domain, the first stage should be installing CA-Root certificate of the Enterprise CA on the trusted root certificates on the ISA server. If the ISA server is a part of the domain (which is not recommended for security reasons), you can skip to the next stage.
    1. Open the Certificates snap-in (Start > Run > MMC) on the Certificate Authority Server for the local computer, and under “Trusted Root Certification Authorities, click certificates.

owa isa2004 1 small

  1. Right click your Enterprise CA Certificate and click export.
  2. On the Welcome screen, click Next.
  3. On the Export File format window, choose DER encoded binary x.509, and on the next screen, save the file to a specified location.
  4. Copy the exported certificate to the ISA server, and open Certificates snap-in on the local machine (ISA server).
  5. Go to Trusted root certification authorities, right click the certificates container and choose All Tasks -> Import.
  6. Specify the location of the saved certificate, and under the certificate store window, choose place all certificates in the following store: Trusted Root Certification Authorities.
  1. The next stage would be installing a web certificate for use of the listener in the ISA server. The easiest way of doing that is by accessing the CA server via HTTP to the following path: http://CAServerName/certsrv (there are other ways of installing the certificate, but this is the easiest and we will discuss only this way in the article).
    1. If the ISA server is not in the domain, you will be requested for a username and password upon entering the main page. Enter the CA Administrator password (in the domain), which will probably be you usual administrator.
      In the opening page, choose request a certificate.
      owa isa2004 2 small
  1. In the next page choose advanced certificate request.
  2. In the advanced certificate request page, you should choose create and submit a certificate request to this CA.
  3. In the advanced certificate Request Next page, there are some details that needs to be defined:

owa isa2004 3 small

  • Under Certificate template, choose web server.
  • Under name, specify the legal FQDN that the ISA server will use to publish the OWA to the internet (for example: owa.mycompany.com).
  • The rest of details are the details that will appear on the certificate that people will get when to surf into the OWA website through the ISA server.
  • Under Key Options, Check the box of “Store certificate in the local computer certificate store”.
  • Under Additional Options, do not change anything.
  • Click submit.
  1. When clicking submit, you might encounter the following message:

owa isa2004 4 small
Click Yes.

  1. On the Certificate Issued page, click install this certificate. When the warning pop-up window pops-up, click yes.
  1. The certificate is now installed on the ISA and we are ready to begin the ISA configuration.
    1. Open the ISA management console and move to the Firewall policy container.

owa isa2004 5 small

  1. On the Tasks Bar on the right, click Publish a Mail server.
  2. Type the rule name and click Next.
  3. On the Select Access Type page, select Web Client Access: OWA, OMA, ActiveSync.
  4. On the Select Services page, you can choose which services you wish to publish.

owa isa2004 6 small

Notice that although all of these services are published in the same way, there are little differences and tweaks that needs to be configured for each of them, and therefore we will only deal with Outlook Web Access for now. Make sure only OWA is check, and click next.

  1. On the bridging mode page, select secured connection to clients and mail server.
  2. On the specify mail server page, enter the internal FQDN for the Internal Exchange  server Note: in that stage, you must assure that the ISA server will know how to translate the FQDN into IP – either by setting a DNS server, or adding a record in the ISA server’s HOSTS file. DO NOT enter IP address as the mail servers address, this will not work well with SSL in the picture.
  3. On the public details page, choose accept request for this domain name, and type below the legal FQDN for which the ISA is suppose to receive external requests for the OWA service. Note: this address should be identical to the address written as the name on the certificate issued earlier.
  4. On the web listener page click new. under the listener name, type HTTPS Listener and click next.
  5. Choose the which networks should the ISA server listen in for requests for the OWA service. The default choice should be external, unless you wish to access OWA for the internal network, or from other networks you configured in your ISA Earlier.

owa isa2004 7 small
In case you have multiple addresses for the ISA in any network, you can click the addresses button, and choose a specific address in that network you wish the ISA would listen in for OWA requests.

  1. On the port specification page, uncheck the Enable HTTP, and Check the Enable SSL Check-box. Leave the default port, and click the select button. In this window choose the previously created certificate, and click next, and finish. owa isa2004 8 small
  1. When returning to the Port web Listener page, click Next, then finish.
  1. Now you can see the new rule created in the firewall policy,  but there a few more tweaks we need to configure before we can finish.
    1. Double-Click on the Listener Part of the rule, and the next window should open up:

owa isa2004 9 small

  1. On the preferences tab, click the authentication button, and the next window will pop-up:

owa isa2004 10 small

  1. Make sure, only the Basic method for authentication is check and remove all other checked-boxes. Then, click OK, and OK again , the listener window.
  2. Double-Click the Name part of the rule, and the next window will open:

owa isa2004 11 small

  1. On the users tab, mark the check-box at the bottom of the window for Forward basic authentication. Then, click OK.
  2. Now click apply the the top of the console to install the new rule.

owa isa2004 12 small
Congratulations! You are done.

Publishing OWA 2003 with a trusted certificate (such as Verisign/Thawte)

The idea of Publishing OWA with a Trusted Certificate is basically the same, and steps 3-5 are the same as the above installation. The different stage is the certificate installation.

  1. Open Certificates MMC on the ISA server.
  2. Go to Personal Container, right click the certificates container, and choose all tasks -> import. Choose the location of the certificate you received from Thawte/Verisign/any other Known Trusted CA, and install the certificate into the personal Store.

The next phases are identical and should be done the same way.
 
About the author:
Yaniv Feldman is a MCT/MCSE and works as an Infrastructure and Information Security consultant with Integrity Systems (www.integrity-sys.com), an Israel-Based Microsoft Partner. Integrity Systems design, migrate, implement and support Microsoft Server solutions (Such as Active Directory, Exchange, ISA, MOM, SMS etc) for SMB and enterprise organizations. Yaniv Has been in the industry for the past 5 years as an IT specialist for Microsoft Technologies and Instructor for various IT related subjects.