COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: Dev1975 on 20 Jan 2014 05:27:25 AM

Title: CAM-CRP-1093 / PKCS12 error
Post by: Dev1975 on 20 Jan 2014 05:27:25 AM
Hello all,

I'm trying to use the ThirdPartyCertificateTool utility to create a certificate to import into TM1. I've set certificate for use in IIS and have also set the necessary ports in my BI Config for SSL/HTTPS. I'm able to use the HTTPS protocol to access Cognos BI in my browser, which is great. I'm now at the point where I need to generate a certificate to import into TM1 and integrate it with BI. I'm using the following command to do this:

ThirdPartyCertificateTool.bat -E -T -r c:\cognos.cer -k "C:\Program Files\IBM\Cognos\C10\configuration\signkeypair\jCAKeystore" -p password

However, after hitting "Enter", it gives me the following error:

CAM-CRP-1093 Unable to read the contents of the keystore 'C:\Program Files\...\signkeypair\jCAKeystore'.
Reason: java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted file.


I've set the JAVA_HOME variable to the IBM Cognos JRE prior to running the command above and have already re-generated the cryptographic keys but this has not helped at all. I've not found much else online and am hoping that someone here has come across this and knows a way around it.

Any & all suggestions gratefully received.

Many thanks,
Dev
Title: Re: CAM-CRP-1093 / PKCS12 error
Post by: sdf on 07 Feb 2014 12:08:24 AM
you can try to remove the cryptographic  keys again and rename the startup.xml before running the configuration or your syntax again.
Title: Re: CAM-CRP-1093 / PKCS12 error
Post by: prikala on 07 Feb 2014 01:15:23 AM
This is probably useless but have you changed the default key store password in Cognos Configuration?
If not, use "NoPassWordSet" as password.