Purpose

This page describes the most common scenario for use of certificates where a web application has browser clients and also relies on a UW enterprise web service for data integration. Multiple certificates are at play in this scenario and the role of each certificate is often a point of confusion. The goal of this page is to provide clarification on this topic.

Scenario

There are three major components in this scenario (see Figure 1):

 

Figure 1. Certificates used and interactions between a Web Service, Web Application, and Browser. Blue boxes enclose certificates and corresponding private keys specifically issued to a component for its own use. Green boxes enclose other certificates that must also be installed in the certificate store of a component in order to enable interactions with other components. See text for description of interactions represented as numbered arrows in the diagram.

Interactions

In this scenario each component must have one or more certificates installed to support secure communications over SSL and/or client authentication using a certificate. There are three primary interactions (see numbered arrows in Figure 1).

  1. Secure communication between the Browser and Web Application using SSL
    1. The Web Application uses its own InCommon Server SSL certificate, corresponding private key, and the InCommon Intermediate Certificate when establishing secure communications with the Browser.
    2. The Browser will only trust the Web Application if it can find the corresponding InCommon Root Certificate in its local certificate store and can verify the trust chain from InCommon Server SSL Certificate -> InCommon Intermediate Certificate -> InCommon Root Certificate.
    3. All current browsers ship with the InCommon Root Certificate, so there should be no issues establishing the trust chain.
    4. If the Web Application uses a server SSL certificate from another CA (not InCommon) then the browser must have the root certificate for that CA installed.
  2. Secure communication between the Web Application and Web Service using SSL
    1. The Web Service uses its own InCommon Server SSL certificate, corresponding private key, and the InCommon intermediate certificate when establishing secure communications with the Web Application.
    2. The Web Application will only trust the Web Service if it can find the corresponding InCommon Root Certificate in its local certificate store and can verify the trust chain from InCommon Server SSL Certificate -> InCommon Intermediate Certificate -> InCommon Root Certificate.
    3. Depending on the host OS and development environment, the InCommon Root Certificate might or might not be available to the Web Application in order to verify the trust chain. Some examples: 
      1. .Net applications running on Internet Information Server rely on CA root certificates in the Windows Certificate store. This store is automatically updated by Windows Update and it includes the InCommon Root Certificate.
      2. PHP and Python applications rely on the CA certificates file provided by OpenSSL. These files must be updated manually if the file version that came with the installation did not already contain the InCommon Root Certificate. See the documentation for your version of PHP or Python.
      3. Java applications rely on the Java keystore to provide CA root certificates. If the keystore that shipped with the Java installation did not include the InCommon Root Certificate then it will need to be updated using Java's "keytool" utility. See your Java documentation.
    4. If the Web Service uses a server SSL certificate from another CA (not InCommon), then the Web Application will need to have the corresponding CA root certificate available in its certificate store. For example, the Groups Web Service (GWS) uses the UW CA so a Web Application that uses GWS will need to have the UW CA root certificate installed.
  3. Client certificate authentication of the Web Application to the Web Service
    1. UW Enterprise web services require client certificate authentication based on certificates issued by the UW CA.
    2. The Web Application will use its own UW CA client certificate and private key while authenticating to the Web Service.
    3. The Web Service will use its local copy of the UWCA Root Certificate and local authorization rules to determine if the Web Application will be granted access. 

Certificate Names and Download Locations

The certificates enclosed in green boxes in Figure 1 have the following Common Names (CN):