Configuring Cognos Command Center for the REST API
Before you use the REST API, you must configure it in IBM® Cognos® Command Center.
Procedure
- Open cmd.exe.
- Configure the REST API port to use HTTPS with the following command:
netsh http add urlacl url=https://+:<port>/ccc user=<UserThatRunsTheCccServerService>- The default REST API port is 9004.
- The default user for the Cognos Command Center server service is \System.
- Associate an SSL certificate with the port with the following command:
netsh http add sslcert ipport=0.0.0.0:<port> certhash=<TumbprintOfSSLCertificate> appid={2129459A-5716-4117-B659-E878745D1AB3}- The Cognos Command Center thumb print for the self-signed certificate is 8d3b42ffb30eeb15c76efb51cdd99b56425bb69f.
- Log on to Cognos Command Center.
- Click Tools > System Configuration.
- In the REST API subsystem, set the value of Enable API to true. You can also modify the default port number and the session timeout value, which is in minutes.
- In the Event Listener subsystem, set the value of Request Queue Length to the maximum number of running and pending asynchronous runs of a process allowed. If this value is 0, asynchronous runs of processes are not available using the REST API.
- Restart the Cognos Command Center server.