Generating a key pair and request using Cognos

Use Cognos® to generate the key pair and specify the keystore for Apache Web Server on the primary Cognos system.

Procedure

  1. Log on to the reporting server as a user with administrative privileges.
    Note: For Linux® systems, log in as a non-root user, such as the opuser user that you created for the IBM OpenPages® installation.
  2. Open a Linux shell, or Windows command prompt.
  3. Go to the bin directory in the web server home directory.
  4. Enter the following commands to generate a certificate request:

    Windows:

    openssl req -new -sha1 -newkey rsa:1024 -config %APACHE_HOME%\conf\openssl.cnf -nodes -keyout server_pkey.key -out certreq.csr

    Linux:

    openssl req -new -sha1 -newkey rsa:1024 -config $APACHE_HOME/conf/openssl.cnf -nodes -keyout server_pkey.key -out certreq.csr
  5. Open the httpd.conf file using a text editor.
    1. Uncomment the following line.
      LoadModule ssl_module modules/mod_ssl.so Secure (SSL/TLS) connections Include conf/extra/httpd-ssl.conf
  6. Save and close the file.