If you use ISA 2004 to secure an SSL-enabled website such as Outlook Web Access (OWA), you need to install a web listener in ISA. This web listener intercepts (listens) for SSL web traffic destined for the HTTPS server.
Usually, you'll set this up when you configure your ISA server, but eventually the certificate you installed will expire and need to be replaced. This post describes how to do this.
In a nutshell, you have to install the certificate on the OWA server, configure IIS to use it, and then export it with the private key as a PFX file. Then you import the PFX file to the Personal store for the local computer on ISA. Just follow the bouncing ball...
First, you need to request and order a new SSL certificate. This can be done several ways, but usually ends with you getting an email from the certificate authority (i.e., Verisign) with your new certificate. The certificate is in the format of:
You simply need to copy and paste the certificate into Notepad and save it as something like C:\Webmail.cer. Be careful to only save the text between the BEGIN and END CERTIFICATE statements (including the leading and trailing dashes).
Now you need to import the certificate into IIS on the web server. Again, there are several ways to do this depending on how you ordered your cert, but this should work everytime:
- Click Start > Run and enter MMC
- Click File > Add/Remove Snap-in and add the Certificates snap-in
- Select Computer account > Next > Finish > OK
- Now your should see Certificates MMC for the local computer, as shown here:
Next, you need to tell IIS to us the new certificate.
- Open IIS Manager and navigate to the Default Web Site that uses SSL
- In IIS 6, view the properties of the web site and click the Directory Security tab. Then click Server Certificate, Next and Replace the Current Certificate. Select the new cert you imported and compete the wizard.
- In IIS 7, click Bindings and edit HTTPS. Then select the new cert you imported and close the Site Bindings window and IIS Manager.
Now that IIS is using the new certificate on the OWA server, you need to export the cert and its private key to import on the ISA server.
- Now go back to the Certificates MMC and click refresh on Certificates in the Personal store
- Select the certificate you imported
- Right-click the certificate and select All Tasks > Export
- Click Next and choose Yes, export the private key
- Click Next twice and enter a password for the exported file.
- Complete the wizard, saving the PFX file in a temporary location
- Copy the PFX file to your ISA 2004 server
Next, we import the certificate into ISA and configure the ISA listener.
- On the ISA server, double-click the PFX file you exported
- Follow the Certificate Import Wizard and place the file in the computer's Personal store
- Now open the ISA Server Management Console
- Select the Firewall Policy
- Click the Toolbox tab on the right and expand Web Listeners
- Double-click the web listener you want to update to edit it
- Click the Preferences tab and click Select
- Select the new certificate and close the listener properties
- Apply the ISA changes
Finally, you're done!!!