Sun Java System Access Manager Policy Agent 2.2 Guide for Apache HTTP Server 2.0.54

ProcedureTo Install the Access Manager Root CA Certificate on Apache HTTP Server on AIX Systems

The following steps outline a method for installing Access Manager Root CA Certificate on the Apache HTTP Server server. However, see the documentation for the Apache HTTP Server server for more information about installing certificates.

  1. Change directories to the location of the Apache HTTP Server configuration file.

    The following example is applicable for changing directories using the C shell when the Apache HTTP Server configuration file is in the default location of Apache-base /conf/:


    # Apache-base/conf/

    where Apache-base represents the directory where Apache HTTP Server was installed.

  2. Change to the cert directory.

    This cert directory is created by the agent installer.

  3. Set the proper environment by issuing a command such as the following (using the tcsh shell, for example):


    # setenv LIBPATH
    PolicyAgent-base/agents/apache/lib:$LIBPATH
  4. (Conditional) If you have not already created the necessary certificate database, create that database now by issuing the following command:


    # PolicyAgent-base/agents/bin/certutil -N -d .

  5. Install root CA certificate by issuing the following command:


    # PolicyAgent-base/agents/bin/certutil -A -n cert-name -t
    "C,C,C" -d cert-dir -i cert-file
    
    cert-name

    The name for this root CA certificate

    cert-dir

    The directory where the certificate and key stores are located

    cert-file

    The base-64 encoded root CA certificate file.

    For example, if the Root CA certificate of the Access Manager host is present in the current directory, which is Apache-base/conf/cert, and if the name of this certificate file is root_ca.crt, then execute the following command:


    /usr/local/apg/agents/bin/certutil -A -n am_root_ca_cert -t "C,C,C" -d . -i root_ca.crt

    For this example, PolicyAgent-base is /usr/local/apg.

    For more information on the cetrutil utility enter cetrutil -H for Help.

  6. To verify that the certificate is properly installed, in the command line, issue the following command:

    # PolicyAgent-base/agents/bin/certutil -L -d .

    The root CA certificate is then listed in the output of the certutil -L command as illustrated in the following code example:


    Certificate Name                             Trust Attrubutes
    
    
                         cert-name                                      C,C,C
    
    p    Valid peer
    P    Trusted peer (implies c)
    c    Valid CA
    T    Trusted CA to issue client certs (implies c)
    C    Trusted CA to certs(only server certs for ssl) (implies c)
    u    User cert
    w    Send warning
    
    
                      
  7. Restart Apache HTTP Server.