Reconfigure Cognos components to use Cognos signed certificate
Note: This is an optional step that enables SSL across your full Cognos estate and
components. Complete this step after completing one of the above steps (Reconfigure Cognos Analytics to Use Third-Party SSL Certificates or Reconfigure Cognos gateway to use SSL using self-signed certificates).
This process configures SSL
communication between Cognos components using Cognos Analytics’ built-in
functionality to create and sign certificate. Once the webserver (gateway) has been
enabled to use SSL protocol, the following process is to be followed if there is no
requirement to use third-party certificates. Commence this process while logged in
to your Flexera Analytics server, using an account with administrator
privileges.To recrypt Cognos Analytics to use Cognos signed certificate:
- Launch the IBM Cognos Configuration tool as an administrator and stop the Cognos service if it is running.
- Navigate to the Cognos installation directory (usually C:\ProgramFiles\ibm\cognos\analytics).
- Take a protective backup copy of the configuration folder and save it as configuration_withgatewaySSL_datetime in a separate directory.
- Navigate to File > Export As and export the decrypted content as backup.xml in the configuration folder. Choose 'Yes' at the prompt and save the file.
- Without restarting the Cognos service, close the IBM Cognos Configuration tool.
-
To remove the current encryption, follow the steps below:
-
Create a backup folder and move the following files to the backup location:
<install directory>/configuration/cogstartup.xml <install directory>/configuration/caSerial <install directory>/configuration/certs/CAMCrypto.status <install directory>/configuration/certs/CAMKeystore <install directory>/configuration/certs/CAMKeystore.lock <install directory>/configuration/certs/CAMKeystore.bkup <install directory>/configuration/certs/CAMKeystore.jks <install directory>/temp/cam/freshness
-
Move the following directory '
<install directory>\configuration/csk
' to the backup location.
-
Create a backup folder and move the following files to the backup location:
- In the CognosInstallationPath\configuration folder, rename ‘backup.xml’ to ‘cogstartup.xml’.
- Launch the IBM Cognos Analytics Configuration tool as an administrator.
- Navigate to Environment and change all URIs to change all URIs to use HTTPS protocol. In Gateway URI and Controller URI for gateway, also replace port 80 with 443. Ensure to enter fully qualified host names (or corresponding IP address) in all the values for all URIs.
-
Navigate to Environment > Configuration Group and enter
the fully qualified host name (or corresponding IP address) into the following
fields:
- Group contact host
- Member coordination host.
-
Navigate to Security > Cryptography > Cognos and enter
the fully qualified host name (or corresponding IP address) into the following
fields:
- Server common name
- Subject Alternative Name > DNS names.
-
If an alias name is being used instead of a server host name, then update the
following fields:
- Under the Gateway URI (update to the alias name)
- Under Security > Cryptography > Cognos > Subject Alternative Name > DNS Name (add the alias name next to the fully qualified domain name).
- Save the configuration.
- Ensure that the biportalURL under Program Files (x86)\Flexera Software\FlexNet Manager Platform\WebUI\web.config file reads as HTTPS.
- Ensure the URL under CognosInstallationPath\configuration\FLEXnet.properties file, reads as HTTPS.
- Start the IBM Cognos service.
-
To use Cognos as the certifying authority, export the Cognos root certificate and import it to trusted root certificate authorities.
Note: This ensures that IIS trusts the Cognos certificate authority that signed the certificate.
-
Launch a command prompt window selecting 'Run as Administrator' from the
CognosInstallationPath\bin directory:
- Windows Operating System: ThirdPartyCertificateTool.bat -E -T -p NoPassWordSet -r CognosCAroot.cer
- This command generates the CognosCAroot.cer in the CognosInstallationPath\bin directory
- Copy the certificate to the IIS server (within analytics server)
- Right-click on the certificate and select Install Certificate
- Select Local Machine for the store location
- Select 'Place all certificates in the following store'
- Under browse button, select 'Trusted Root Certification Authorities'
- Select Next and Finish.
-
Launch IIS on Flexera Analytics server and configure it as follows:
- Navigate to website> ibmcognos/bi and open the URL Rewrite feature
- Update the Reverse Proxy rule to use HTTPS
- Apply the changes
- Ensure that the bindings in IIS contain HTTPS and reference the correct certificate
- Restart the web server (IIS).