If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Decryption issue on VMWare image

Started by anand.gupta, 12 Sep 2009 02:14:46 PM

Previous topic - Next topic

anand.gupta

Getting error during testing Cognos Configuration which is newly setup on server from old cognos server. Error is
[Cryptography]
1. [ ERROR ] CAM-CRP-1280 An error occurred while trying to decrypt using the system protection key. Reason: javax.crypto.BadPaddingException: Given final block not properly padded
I got its answer here in this community  on which was given by Markryan  and Kolonell dated 14 oct 2008. when i am implementing the solution, still getting the same error message.  I did following steps:
1. I stopped the Cognos Service.
2. I did a backup of the files in:
  ./configuration/csk/
  ./configuration/encryptkeypair/
  ./configuration/signkeypair/
3. I did a backup of ./configuration/cogstartup.xml
4. I copied and renamed the first instance of the archived cogstartup.xml so it was now the current startup config.
  (I used the one with the oldest time stamp in it's name)
5. I started Cognos Configuration and changed the config settings like content database name changed.
6. Then Tested all the config settings and got this error again.
Could you please tell me what i am missing here.

prikala

I have not dealt with this error myself but as step "2.5" you could try deleting
csk, encryptkeypair and signkeypair directories.

anand.gupta

We are managed to solved it. After solving it, we found the same solution from IBM in the following link:
http://www-01.ibm.com/support/docview.wss?uid=swg21339421
This solution contains the following steps:
This could happen if you copied the cogstartup.xml file from another server to the Gateway. The cogstartup.xml file would be encrypted prior to copying to the gateway.
In order to do an Unattended Configuration an unencrypted "cogstartup.xml" file needs to be used.
One way to export the configuration from another installation is by doing File > Export as.. And then renaming the file to "cogstartup.xml" (ie. file is encrypted in plain text - it is not encrypted).
Another way is to edit the default "cogstartup.xml" right after the install before encryption.