Regenerate Cryptographic Keys

disturbeddeterminedAI and Robotics

Nov 21, 2013 (3 years and 8 months ago)

357 views

Regenerate
Cryptographic
Keys


1. Open
Start Programs > Cognos 84 >
Cognos Configuration. From the File menu, click
Export As and save the configuration information in a decrypted format. When naming
the file, use a name such as "decrypted.xml". You are pr
ompted to acknowledge that the
export is an unsecure operation depending on the version of Cognos being used. Move
decrypted.xml to c8_location/configuration directory.

2. Stop the IBM Cognos 8 service:


3. Back up any existing cryptographic keys by savin
g the appropriate files and directories
to an

alternate location (
Program Files
\
cognos
\
c84
\
configuration

to
Program
Files
\
cognos
\
c84
\
configuration
\
backup of cryptographic keys
). If the directory exists,
overlay whatever is in there. If it does not exist,

create it.

The files are

-

Program Files/cognos/
c84
/configuration/cogstartup.xml

-

Program Files/cognos/
c84
/configuration/caSerial

-

Program Files/cognos/
c84
/
configuration/cogconfig.prefs

-

Program Files/cognos/
c84
/configuration/coglocale.xml

-

Program Fi
les/cognos/
c84
/configuration/

AAAclient.log

-

Program Files
\
cognos
\
c84
\
temp
\
cam
\
freshness

The directories are

-

Program Files/cognos/
c84
/configuration/csk

-

Program Files/cognos/
c84
/configuration/encryptkeypair

-

Program Files/cognos/
c84
/configuration/sign
keypair


4. Delete the cogstartup.xm
l, caSerial, cogconfig.prefs,

coglocale.xml
,

AAAclient.log
,

and freshness

and the three directories: csk, encryptkeypair, and signkeypair whose path
are mentioned above.


5. Rename the file

"decrypted.xml" to cogstartup
.xml.

Important: In the c8_location/configuration directory, the file must use the name
"cogstartup.xml".


6. Open Cognos Configuration and Click on save icon. This would re
-
generate the
cryptographic keys. Sometime you may get a popup window while opening

Cognos
Configuration saying that the default configuration would be loaded, simply click on OK
button and save the configuration settings by click on save icon.


7. Now you can start the cognos service without any issue.