Netscape logo Administrator's Guide
Netscape Certificate Management System

Previous      Contents      Index      DocHome      Next     

Chapter 5   OCSP Responder


This chapter provides an overview of an Online Certificate Status Protocol (OCSP) service, and explains how you can use the OCSP service built into the Certificate Manager for real-time verification of certificates issued by the Certificate Manager. The chapter also explains how to install and configure an Online Certificate Status Managers to publish CRLs.

This chapter contains the following sections:

About OCSP Services


CMS supports the Online Certificate Status Protocol (OCSP) as defined in the PKIX standard RFC 2560 (see http://www.ietf.org/rfc/rfc2560.txt). The OCSP protocol enables OCSP-compliant applications to determine the state of a certificate, including the revocation status, without having to directly check a CRL published by a CA to the validation authority. The validation authority, which is also called an OCSP responder, does the checking for the application.

How OCSP Services Work

An OCSP service works as follows:

  1. A CA is set up to issue certificates that include the Authority Information Access Extension whose value identifies an OCSP responder that can be queried for the status of the certificate.
  2. One or more CAs periodically publishes CRLs to an OCSP responder.
  3. The OCSP responder maintains the CRL it receives from the CA(s).
  4. An OCSP-compliant client verifies the status of a certificate by sending requests containing all the information required to identify the certificate to the OCSP responder for verification. The applications determine the location of the OCSP responder from the value of the Authority Information Access Extension in the certificate being validated.
  5. The OCSP responder determines if the request contains all the information required by the responder to process it. If it does not, or if it is not enabled for the requested service, a rejection notice is sent. If it does have enough information, it processes the request and sends back a report stating the status of the certificate. See "OCSP Responses" for details on the responses sent by an OCSP service.

OCSP Response Signing

Every response that the client receives, including a rejection notification, is digitally signed by the responder; the client is expected to verify the signature to ensure that the response came from the responder to which it submitted the request. The key the responder uses to sign the message depends on how the OCSP responder is deployed in a PKI setup. RFC 2560 recommends that the key used to sign the response belong to one of the following:

For more information about the certificates associated with OCSP, see "SSL Server Key Pair and Certificate".

OCSP Responses

The OCSP response that the client receives indicates the current status of the certificate as determined by the OCSP responder. The response could be any of the following:

Based on the status, the client decides whether to validate the certificate.

CMS OCSP Services


To aid you in the process of setting up a OCSP-compliant PKI setup, CMS provides two options:

How Certificate Manager's OCSP-Service Feature Works

The Certificate Manager has a built-in OCSP-service feature, which when configured, can be used by OCSP-compliant clients to directly query the Certificate Manager about the revocation status of the certificate being validated. The OCSP service is installed and configured by default, and is one of the options during install. Unless you deselected this option, the service was installed and configured.

Clients can query the OCSP through the non-SSL end-entity port of the Certificate Manager. When queried for the revocation status of a certificate, the Certificate Manager looks up its internal database for the certificate, checks its status, and accordingly responds to the client. Since the Certificate Manager has real-time status of all certificates it has issued, this method of revocation checking is most accurate.

Since the internal OCSP service checks the status of certificates stored in the Certificate Manager's internal database, you do not need to set up publishing to use this service. The certificates are stored, and revoked certificates are marked revoked in the internal database of the Certificate Manager by default.

For step-by-step instructions to set up an OCSP-compliant PKI setup using the Certificate Manager, see Setting Up a Certificate Manager with OCSP Service.

How the Online Certificate Status Manager Works

In addition to the built-in OCSP service feature, the Certificate Manager can also publish CRLs to an OCSP-compliant online validation authority. If you install the CMS OCSP responder, Online Certificate Status Manager, you can configure one or more Certificate Managers to publish their CRLs to the Online Certificate Status Manager. The Online Certificate Status Manager stores each Certificate Manager's CRL in its internal database and uses the appropriate CRL to verify the revocation status of a certificate when queried by an OCSP-compliant client. (Note the difference between the Online Certificate Status Manager and the internal OCSP service. The internal OCSP service checks certificate status by checking the internal database of the Certificate Manager. The Online Certificate Status Manager checks certificate status by checking CRLs provided by the Certificate Manager that it stores in its own internal database.)

You can configure the Certificate Manager to generate and publish CRLs whenever a certificate is revoked and at specified intervals, say every 20 minutes. Because the purpose of setting up an OCSP responder is to facilitate real-time verification of certificates, you should configure the Certificate Manager to generate and publish the CRL to the Online Certificate Status Manager every time a certificate is revoked—configuring the Certificate Manager to publish CRLs at specific intervals would negate the very purpose for which it's being done because the CRL the Online Certificate Status Manager would look up during verification would always be outdated. It's important to note that if the CRL is large, the Certificate Manager could take a considerable amount of time to publish the CRL.

As explained earlier, the Online Certificate Status Manager stores each Certificate Manager's CRL in its internal database and uses it as the default CRL store for verifying certificates. You can also configure the Online Certificate Status Manager to use the CRL published to an LDAP directory by a Certificate Manager. In this case, the Certificate Manager does not have to update the CRLs the Online Certificate Status Manager, it updates them to the LDAP directory which the Online Certificate Status Manager is able to read. If you do so, the Online Certificate Status Manager uses the CRL published to the LDAP directory, instead of the CRL in its internal database.

For step-by-step instructions to set up an OCSP-compliant PKI setup using the Online Certificate Status Manager, see Installing an Online Certificate Status Manager.

Setting Up a Certificate Manager with OCSP Service


The Certificate Manager has a built-in OCSP service feature that can be used by OCSP-compliant clients to do real-time verification of certificates issued by the Certificate Manager. This section explains how to setup an OCSP-compliant PKI setup using the Certificate Manager's OCSP-service feature.

You must have OCSP-compliant clients in order to be able to use the OCSP service.

  1. Make sure the OCSP service for the CA is enabled.
  2. Set up CRLs. You need to configure the Certificate Manager to issue CRLs. See Chapter 15 "Revocation and CRLs" for details on configuring CRLs.
  3. You must configure your policies or certificate profiles to include the Authority Information Access extension pointing to the location at which the Certificate Manager listens for OCSP service requests (identified as the AuthInfoAccessExt instance in the policy framework.) in certificates that are issued. This extension is necessary to identify the OSCP service. If you installed the Certificate Manager with the OSCP service on, this extension is created with the correct information for the OSCP service in the policy framework, and is not enabled by default. If you chose not to configure the OSCP service, you will have to create this policy and configure it for this service.
  4. If you installed the Certificate Manager's with its OCSP service feature disabled, a default policy rule (named AuthInfoAccessExt) is created, but it may not have the correct attributes for adding the Authority Information Access extension to certificates.
     
    See Chapter 12 "Policies" for details on configuring policies, see "AuthInfoAccessExt" for specific information on this policy module.
     
  5. Make sure the OCSP SSL signing certificate is from a CA that is trusted by the Certificate Manager. See "OCSP Certificates" for more information.

Online Certificate Status Manager Deployment Considerations


This section describes the decisions you make during installation that will apply to your initial configuration of the subsystem.

Online Certificate Status Manager Certificates

When you install the Online Certificate Status Manager, the keys for the OCSP signing certificate and SSL server certificate are created and a certificate request is made for the signing certificate and the SSL server certificate.

You submit this request either to a CMS CA, or you submit the request to a third party public CA and then install the certificate you receive from the CA during the rest of the installation. If you submit the request to a CMS CA, the installation program will allow you submit the request to the CA in the install wizard, and pick up the certificate once it is approved.

OCSP Signing Key Pair and Certificate

Every Online Certificate Status Manager you have installed has a certificate, identified as the Online Certificate Status Manager signing certificate, whose public key corresponds to the private key the Online Certificate Status Manager uses to sign OCSP responses before sending them to OCSP-compliant clients. The Online Certificate Status Manager's signature provides persistent proof to an OCSP-compliant client that the Online Certificate Status Manager has processed the request. The first time you generated this certificate is when you installed the Online Certificate Status Manager. The default nickname for the certificate is ocspSigningCert cert-<instance_id>, where <instance_id> identifies the CMS instance in which the Online Certificate Status Manager is installed.

The Online Certificate Status Manager's signing certificate was issued by the CA to which you submitted the certificate signing request.

SSL Server Key Pair and Certificate

Every Online Certificate Status Manager you have installed has at least one SSL server certificate. The first time you generated this certificate is when you installed the Online Certificate Status Manager. The default nickname for the certificate is Server-Cert cert-<instance_id>, where <instance_id> identifies the CMS instance in which the Online Certificate Status Manager is installed.

The Online Certificate Status Manager's SSL server certificate was issued by the CA to which you submitted the certificate signing request. You might have submitted the request to an internally deployed CA or a public CA.

The Online Certificate Status Manager uses its SSL server certificate to do SSL server-side authentication for the Online Certificate Status Manager Agent Services interface.

By default, the Online Certificate Status Manager uses a single SSL server certificate for authentication purposes. However, you can request and install additional SSL server certificates for the Online Certificate Status Manager. For example, you can configure the Online Certificate Status Manager to use separate server certificates for the Netscape Console and the Online Certificate Status Manager Agent Services interfaces. For instructions, see Configuring the Server's Security Preferences.

Interfaces

When you install an Online Certificate Status Manager, three interfaces are enabled. The installation wizard lets you choose the ports these interfaces listen on. The following interfaces, and associated ports will be created:

Password Storage

Each subsystem stores passwords for its internal database, and for the tokens containing its keys and certificates. See "System Passwords" for information on how these passwords are stored.

Tokens

You choose either the internal token (if you plan to use the internal/software token) or an external token to store the signing certificate and key pair and the SSL signing certificate and key pair.

If you are using an external token, you will need to install it before you run the Installation Wizard. In the wizard, you can select from a list of already installed and available tokens. For example, HSM. For installation instructions, see External Token.

Internal Database

Each subsystem uses an internal database to store information (such as certificates and certificate requests) used by the subsystem you will be installing in this CMS instance. By default, a separate internal database is created for each subsystem you configure. You can choose to use the same internal database for more than one subsystem by specifying this when running the installation wizard to configure that subsystem. You should carefully consider whether you want to store this information in a separate internal database for each subsystem or use one internal database for all subsystems installed on the host.

It's recommended that you do not use this Directory Server instance for any other purposes; the directory schema will be configured for storing CMS data.

Signing Key Type and Length

If you wish, you can import the signing key and certificate used in a previous version of CMS installation rather than generating a new signing key pair. For information on how to do this, check the migration information in Step 6 of the section "Upgrading" in Chapter 2 of the Command-Line Tools Guide.

If you decide to generate a new signing key, one of the first decisions you need to make is whether to use the RSA or DSA algorithm. If you use DSA, the software can generate and verify the PQG value. PQG values are used to create the DSA signing key pair. For more information about the way they are used, check this document: http://www.itl.nist.gov/div897/pubs/fip186.htm.

In general, longer keys are considered to be cryptographically stronger than shorter keys. However, longer keys also require more time for signing operations.

Many people no longer consider an RSA key of length less than 1024 bits to be cryptographically strong. Export and other regulations permitting, it may be a good rule of thumb to start with 1024 bits and consider increasing the length to 4096 bits for certificates that provide access to highly sensitive data or services. (CMS signing keys up to 2048 bits in length are not subject to export restrictions.) However, the question of key length has no simple answers. Every organization must make its own decision based on its own security requirements. For more information on key length and encryption strength, see Appendix D of Managing Servers with Netscape Console.

Installing an Online Certificate Status Manager


To install a standalone Online Certificate Status Manager:

  1. Log into Netscape Console as the administrator.
  2. Select the CMS instance and then either click Open, or double click this instance.
  3. The Installation Wizard launches.
     
  4. Installation Wizard Introduction. Click Next to continue.
  5. Logon Token. Enter either internal (if you plan to use the internal/software token) or the name of an external token to store the Certificate Manager signing certificate and key pair. If you have not previously initialized the token's password, you must do so in this screen. See "Tokens" for more information.
  6. Internal Database. Choose to either create a new internal database for this instance or to use an existing Directory Server instance as the internal database for this instance. Next, specify the information for that Directory Server instance. See "Internal Database" for more information.
  7. Click Next to continue. The wizard sets up the new internal database, which takes some time.
     
    Click Next to continue.
     
  8. Administrator. Type the user ID, name and password for the CMS administrator. This user ID will be set up as the administrator who can access the CMS window and control all CMS settings.
  9. Allow Multiple Roles for Users. Select if you want to allow users to belong to more than one group, thus assuming more than one role. Deselect if you want to restrict users from being able to belong to more than one role. This setting only applies to the default administrator, agent, auditor roles.
     
    Click Next to continue.
     
  10. Subsystems. Choose a subsystem you want to install.
  11. Select Online Certificate Status Manager.
     
    Click Next to continue.
     
  12. Network Configuration. Type the numbers for the ports to be used by the CMS instance. The OCSP-compliant clients will use this port to communicate with the Online Certificate Status Manager.
  13. Click Next to continue.
     
  14. Key-Pair Information for Online Certificate Status Manager Signing Certificate.
  15. Click Next to continue.
     
  16. Subject Name for Online Certificate Status Manager Signing Certificate. Type the values for the subject DN components; these values identify the Online Certificate Status Manager's signing certificate.
  17. Click Next to continue.
     
  18. Online Certificate Status Manager Signing Certificate Request Creation. This informational screen tells you that the wizard has all the information required to generate the key pair and certificate request.
  19. Click Next to generate them.
     
  20. Submission of Request. Select whether you want to submit the request manually or send the request to a remote CMS manager (Certificate Manager or Registration Manager) automatically. The wizard creates a certificate request that you must submit to a CA.
  21. Click Next when you are ready to proceed.
     
  22. Online Certificate Status Manager Signing Certificate Installation. Depending on whether you have the certificate ready for pasting into the Installation Wizard screen, click Yes or No.
  23. Click Next to continue.
     
  24. Location of Certificate. Specify the location of the certificate. You can use one of these options:
  25. Click Next to continue.
     
  26. Certificate Details. This is an informational screen that displays the certificate so you can inspect its contents. Notice the nickname assigned to the certificate and verify that you're installing the correct certificate.
  27. Click Next to continue.
     
  28. Import Certificate Chain. This screen appears only if you need to import the CA certificate chain. Follow these steps to import the CA chain of a Certificate Manager:
    1. Go back to the web browser window from which you copied the Online Certificate Status Manager's signing certificate (in its base-64 encoded format).
    2. Scroll down to the part that says "Base 64 encoded certificate with CA certificate chain in pkcs7 format" and shows the CA certificate chain in its PKCS#7 format.
    3. Highlight all the encoded blob (including -----BEGIN CERTIFICATE ----- and -----END CERTIFICATE-----), and copy it to the clipboard or to a text file.
    4. Be sure to not make any changes to the certificate. You're required to paste the encoded certificate into the Installation Wizard next. So, once you've copied the certificate, go back to the wizard screen.
       
    5. Paste the certificate chain into the text box.
    6. Click Next to continue.
    If you closed the end-entity interface, you can get the CA certificate chain this way:
     
    1. Open a web browser window.
    2. Go to the end-entity URL for the Certificate Manager that issued the Online Certificate Status Manager's signing certificate.
    3. Select the Retrieval tab, and then choose Import CA Certificate Chain.
    4. Select the "Display the CA certificate chain in PKCS#7 for importing into a server" option, and then click Submit.
    5. Copy the certificate chain to the clipboard.
    6. Return to the Installation Wizard.
    7. Paste the certificate chain into the text box.
    8. Click Next to continue.
  29. Key-Pair Information for SSL Server Certificate.
  30. Click Next to continue.
     
  31. Subject Name for SSL Server Certificate. Type the values for the subject DN components; these values identify the Online Certificate Status Manager's SSL server certificate. The CN must be the fully-qualified host name of the machine on which you're installing the Online Certificate Status Manager.
  32. Click Next to continue.
     
  33. Certificate Extensions for SSL Server Certificate. Select the required extensions. The default settings should work for most deployments. If necessary, you can add an additional extension by pasting its base-64 encoding in the space provided on this screen.
  34. CMS provides command-line tools for generating extensions to include in CA and other certificate requests. For details about these tools, check this directory: <server_root>/bin/cert/tools
     
    Note that the certificate extension text field accepts a single extension blob. If you want to add multiple extensions, you should use the ExtJoiner program, which is also provided in the tools directory. For details on using the ExtJoiner program, see Chapter 5, "Extension Joiner Tool" of CMS Command-Line Tools Guide.
     
    Click Next to continue.
     
  35. SSL Server Certificate Request Creation. This is an informational screen that tells you that the wizard has all the information required to generate the key pair and certificate request. In the previous screen, if you chose to include the Subject Key Identifier extension in the certificate, you'll be given the choice to select the format for the certificate request. Otherwise, the request format will be PKCS #10.
  36. Click Next. The wizard generates the certificate request that you must submit to a CA.
     
  37. Submission of Request. Select whether you want to submit the request manually or send the request to a remote CMS server (Certificate Manager or Registration Manager) automatically.
  38. SSL Server Certificate Installation. Depending on whether you have the certificate ready for pasting into the Installation Wizard screen, click Yes or No.
  39. Click Next to continue.
     
  40. Location of Certificate. Specify the location of the certificate. You can use one of these options:
  41. Click Next to continue.
     
  42. Certificate Details. This is an informational screen that displays the certificate so you can inspect its contents. Notice the nickname assigned to the certificate and verify that you're installing the correct certificate.
  43. Click Next to continue.
     
  44. Import Certificate Chain. This screen appears only if you need to import the CA certificate chain. Follow these steps to import the CA chain of a Certificate Manager:
    1. Go to the web browser window.
    2. Enter the end-entity URL for the Certificate Manager that issued the SSL server certificate.
    3. Select the Retrieval tab, and then choose Import CA Certificate Chain.
    4. Select the "Display the CA certificate chain in PKCS#7 for importing into a server" option, and then click Submit.
    5. Copy the certificate chain to the clipboard.
    6. Return to the Installation Wizard.
    7. Paste the certificate chain into the text box.
    8. Click Next to continue.
  45. Single Signon Summary. Check the summary and select whether to retain or delete the password.conf file.
  46. The single signon password simplifies the way you subsequently sign on to CMS by storing the passwords for the internal database, tokens, and so on. Each time you log on, you're only required to enter this single password. (For details, see System Passwords.)
     
    Click Next to continue.
     
  47. Configuration Status. This screen should indicate that your configuration has been successful and that you need to create an agent for the Online Certificate Status Manager.
  48. Click Done to exit the Installation Wizard.
     
  49. You now need to create the first agent user for the Online Certificate Status Manager. See "Agent Certificates" for details.

Setting Up the OCSP Responder


In order to properly set up the Online Certificate Status Manager, you must set up the following:

  1. Configure every CA that will publish to the OCSP Responder to Publish CRLs. See Chapter 15 "Revocation and CRLs" for complete details.
  2. Enable Publishing and set up a publisher and a publishing rule(s) to publish CRLs to the Online Certificate Status Manager in every CA that the OCSP will handle. See Chapter 16 "Publishing" for complete details. (You do not need to do this if the Certificate Manager publishes to an LDAP directory and the Online Certificated Status Manager is set up to read from that LDAP publishing directory.)
  3. You must configure your policies or certificate profiles for every CA that will publish to the OCSP Responder to include the Authority Information Access extension pointing to the location at which the Certificate Manager listens for OCSP service requests (identified as the AuthInfoAccessExt instance in the policy framework.) in certificates that are issued. This extension is necessary to identify the OSCP service. If you installed the Certificate Manager with the OSCP service on, this extension is created with the correct information for the OSCP service. If you chose not to configure the OSCP service, you will have to create this policy and configure it for this service.
  4. If you installed the Certificate Manager's with its OCSP service feature disabled, a default policy rule (named AuthInfoAccessExt) is created, but it may not have the correct attributes for adding the Authority Information Access extension to certificates.
     
    See Chapter 12 "Policies" for details on configuring policies, see "AuthInfoAccessExt" for specific information on this policy module.
     
  5. Configure the OCSP Responder. See "Configuring the Online Certificate Status Manager". Pay close attention to configuring the following:
  6. After configuring both the Certificate Manager and the Online Certificate Status Manager, restart both.
  7. To verify that the CA is properly connected to the OCSP responder, see "Verify Certificate Manager and Online Certificate Status Manager Connection".

Configuring the Online Certificate Status Manager


This section details the areas that you can configure for the Online Certificate Status Manager and points you to specific information on configuring those sets of features.

Adding Users

Once the Online Certificate Status Manager is installed, you need to add users and assign them to the administrator, agent, and auditor roles. See Chapter 9 "Authorization" for details on adding users and assigning them to groups.

Configuring Authorization

Each subsystem has a set of predefined groups that are assigned a default set of privileges. You create users in the CMS database and then assign them to that group to give them the privileges of that group. The privileges assigned to a role are controlled by Access Control Instructions (ACIs) placed in Access Control Lists (ACLs). ACLs define points that need specific authorization. Generally, each defines a distinct set of functionality for the server. ACIs define what operations can or cannot be performed by a user, group, or IP address for that particular ACL. You can change the default ACIs set up in the ACLs to change the privileges. You can also create new groups and assign privileges to those groups by adding ACI entries for that group in the ACLs. For complete details about creating users, assigning users to groups, creating groups, and changing ACIs and ACLs, see Chapter 9 "Authorization."

Default ACL Configuration

The configuration set up for the Online Certificate Status Manager gives the following privileges to members of the following groups:

Managing Certificates and the Certificate Database

The signing certificate and SSL encryption certificate are created and installed during the installation of the Online Certificate Status Manager. See "OCSP Certificates" for more information about these certificates and the things you should consider before getting these certificates.

CMS contains a Certificate Wizard that allows you to create additional certificates, or to renew or replace a certificate for the Online Certificate Status Manager. See "Certificate Setup Wizard" for details of using the wizard and about renewing or replacing a subsystem certificate.

Trust Settings and CA Certificates

The trusted database also contains the CA certificates for those CAs that the subsystem trusts. If your subsystem has certificates from a CA or accepts certificates that are issued by a CA, it must have a copy of those CA certificates in the trusted database, and they must be configured as trusted, see "Changing the Trust Settings of a CA Certificate" and "Installing a New CA Certificate in the Certificate Database".

Certificate Chain

You also may need to install a certificate chain in the database to provide the chain of CAs to a trusted CA. You can install a certificate chain in the certificate database, see "Installing a CA Certificate Chain in the Certificate Database".

OCSP Certificates

Depending on who signed your Online Certificate Status Manager's SSL server certificate, you may need to perform the following actions to get that certificate recognized by the CA:

For general information about the OCSPs Certificates, see "OCSP Certificates".

Changing Ports and IP Addresses

You set up the ports for each of the interfaces when you install the Online Certificate Status Manager. You can change the ports that any of the interfaces listen on, and you can disable the HTTP (non-SSL) end-entity port if you will not use it. For information on changing ports, see "Ports". For information about the ports that are setup with an Online Certificate Status Manager, see "Interfaces".

You can also change the IP address for the CMS instance. You might do this if you have more than one IP address set up on your machine and want separate instances of CMS to use different IP addresses. You can do this during or after installation. See "Changing an IP Addresses" for details.

Changing Subsystem Security Setting

You can configure the security of each subsystem by changing the SSL version used by the subsystem and enabling or disabling ciphers, see "Configuring the Server's Security Preferences".

Changing Passwords or Storage Settings

Each subsystem stores passwords for its internal database, and for the tokens containing its keys and certificates. See "System Passwords" for information on how these passwords are stored.

Configuring Logs

Each subsystem creates a number of logs that detail various events and errors. Each subsystem also has the ability to create signed audit logs that create audit trails that can only be read by a user with auditor privileges. The log feature is configurable allowing you to change the settings for some of the logs. See "Logs" for complete information about the logs and details of the configuration options for logs.

Changing Internal Database Settings

You can change the configuration of the internal database after installation including restricting access to the internal database, see "The Internal Database" for information on doing this, and for information about viewing the internal database.

If the password changes for the user ID CMS uses to bind to this database, you need to update the password in the password cache. See "System Passwords".

Configuring Self Test

Each subsystem provides self tests that are run on start up and can also be run on demand. This feature is configurable, see "Self Tests" for complete information.

Setting Up Jobs

The jobs feature that allows you to send automated jobs is disabled after installation. The Online Certificate Status Manager contains the framework for jobs, but does not contain any prebuilt jobs. You can build jobs using the CMS SDK. For detailed information on setting up publishing, see Chapter 14 "Automated Jobs."

Identifying the CA to the OCSP Responder

Before you configure a Certificate Manager to publish CRLs to the Online Certificate Status Manager, you must identify the Certificate Manager to the Online Certificate Status Manager. You do this by storing the Certificate Manager's CA signing certificate in the internal database of the Online Certificate Status Manager. The Certificate Manager signs CRLs with the key pair associated with this certificate; the Online Certificate Status Manager verifies the signature against the stored certificate.

  1. Get the Certificate Manager's CA signing certificate in base 64 encoded format. You should be able to get this from the end-entity interface of the CA that issued the certificate, or the end-entity interface of the Certificate Manager if the certificate is self-signed.
  2. Go to the Online Certificate Status Manager's Agent interface. The URL is: https://<hostname>:<port>.
  3. The Online Certificate Status Manager Agent Services interface appears.
     
  4. In the left frame, click Add Certificate Authority.
  5. In the form, paste the encoded CA signing certificate inside the text area labeled "Base 64 encoded certificate (including the header and footer)."
  6. Click Add.
  7. The certificate is added to the internal database of the Online Certificate Status Manager.
     
  8. To verify that the certificate is added successfully, in the left frame, click List Certificate Authorities.
  9. The resulting form should show information about the Certificate Manager (CA) you just added. Note the values assigned to the "This Update," "Next Update," and "Requests Served Since Startup" fields. All three fields should show a value of zero (0).
     

Verify Certificate Manager and Online Certificate Status Manager Connection

When you restart the Certificate Manager, it tries to connect to the Online Certificate Status Manager's end-entity SSL port. To verify that the Certificate Manager did indeed communicate with the Online Certificate Status Manager:

  1. Enter the URL for the Online Certificate Status Manager's Agent interface. The URL is: https://<hostname>:<port>.
  2. The Online Certificate Status Manager Agent Services interface appears.
     
  3. In the left frame, click List Certificate Authorities.
  4. The resulting form should show information about the Certificate Manager (CA) you configured to publish CRls to the Online Certificate Status Manager. Note the timestamp:
     

Configure the Revocation Info Stores

The Online Certificate Status Manager stores each Certificate Manager's CRL in its internal database and uses it as the default CRL store for verifying the revocation status of certificates. You can also configure the Online Certificate Status Manager to use the CRL published to an LDAP directory, instead of the CRL in its internal database. For example, if you've configured Certificate Managers to publish CRLs to LDAP directories (see Chapter 16 "Publishing"), you can configure the Online Certificate Status Manager to use the CRLs published to these directories.

To configure the Online Certificate Status Manager to use the CRLs in its internal database or an LDAP directory for verifying revocation status of certificate:

  1. Log in to the CMS window for the Online Certificate Status Manager (see Logging Into the CMS Console).
  2. Select the Configuration tab.
  3. In the navigation tree, select Online Certificate Status Manager, and then select Revocation Info Stores.
  4. The right pane shows the two repositories the Online Certificate Status Manager can use; by default, it uses the CRL in its internal database.
     
  5. Select the appropriate option:
  6. The Revocation Info Store Editor for the selected store appears.
     
  7. Fill in the appropriate values.
  8. Click OK.
  9. You're returned to the Revocation Store Info Management tab
     
  10. Click Refresh.

Testing Your OCSP Setup


To test whether the Certificate Manager can service OCSP requests properly, follow these steps:

  1. Turn On Revocation Checking in your browser or client.
  2. Request a certificate from the CA that has been enabled for OCSP services.
  3. Approve the request.
  4. Download the certificate to the browser or client.
  5. Make sure the CA is trusted by the browser or client.
  6. Check the Status of Certificate Manager's OCSP Service (internal OCSP service).
  7. Go to the agent services interface for the Certificate Manager and then go to the OCSP Services page.
     
    The Certificate Manager's Agent services interface contains a form that enables you to check the Certificate Manager's OCSP-service status, such as how many request its received and so on. Click OCSP Services in the left frame in the agent services interface.
     
  8. Check the Status of Online Certificate Status Manager (stand-alone OCSP service).
  9. Go to the agent services interface for the Online Certificate Status Manager and then go to the List Certificate Authorities page found in the left frame.
     
    The resulting form should show information about the Certificate Manager (CA) you configured to publish CRls to the Online Certificate Status Manager. The page also summarizes the Online Certificate Status Manager's activity since it was last started.
     
  10. Revoke the certificate
  11. Verify the certificate in the browser or client. Once verified, you should see that the certificate has been revoked.
  12. Check the Certificate Manager's OCSP Service Status (internal OCSP) again
  13. Check the Certificate Manager's OCSP-service status again to verify that these things happened:
     
  14. Check the Online Certificate Status Manager Status (stand-along OCSP service) Again
  15. Check the Online Certificate Status Manager status again to verify that these things happened:
     

The browser used that response to validate the certificate and informed you of its status (that the certificate could not be verified)



Previous      Contents      Index      DocHome      Next     

© 2001 Sun Microsystems, Inc. Portions copyright 1999, 2002-2004 Netscape Communications Corporation. All rights reserved.


Last Updated November 23, 2004