Solved

I am trying to register a third party certificate in Cognos 8 and get an error message.

Posted on 2009-05-14
2
2,315 Views
Last Modified: 2013-12-24
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>cd C:\Program Files\cognos\c8\bin

C:\Program Files\cognos\c8\bin>ThirdPartyCertificateTool.bat -T -i -r C:\Certifi
cates\ldap-auth.gov.ns.ca.der -k ..\configuration\signkeypair\jCAKeystore -p pswd
Looking in: C:\Program Files\Java\jre6\bin...
Executing:
C:\Program Files\Java\jre6\bin\java.exe  com.cognos.accman.jcam.utilities.ThirdP
artyCertificateTool -T -i -r C:\Certificates\ldap-auth.gov.ns.ca.der -k ..\confi
guration\signkeypair\jCAKeystore -p gov2010
log4j:WARN No appenders could be found for logger (Trace.CAM.JCAM).
log4j:WARN Please initialize the log4j system properly.
Loaded CA certificate: 'C=US,O=Entrust.net,OU=www.entrust.net/CPS incorp. by ref
. (limits liab.),OU=(c) 1999 Entrust.net Limited,CN=Entrust.net Secure Server Ce
rtification Authority'.
CAM-CRP-1093 Unable to read the contents of the keystore '..\configuration\signk
eypair\jCAKeystore'. Reason: java.io.IOException: PKCS12 key store mac invalid -
 wrong password or corrupted file.
        at com.cognos.accman.jcam.crypto.misc.CAMKeyStore.loadKeyStore(CAMKeySto
re.java:99)
        at com.cognos.accman.jcam.crypto.misc.KeyStoreWriter.storeThirdPartyCaCe
rt(KeyStoreWriter.java:1178)
        at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.installCAC
ert(ThirdPartyCertificateTool.java:634)
        at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.main(Third
PartyCertificateTool.java:1054)
Caused by: java.io.IOException: PKCS12 key store mac invalid - wrong password or
 corrupted file.
        at org.bouncycastle134.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS
12KeyStore.java:783)
        at java.security.KeyStore.load(Unknown Source)
        at com.cognos.accman.jcam.crypto.misc.CAMKeyStore.loadKeyStore(CAMKeySto
re.java:94)
        ... 3 more
java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted
file.
        at org.bouncycastle134.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS
12KeyStore.java:783)
        at java.security.KeyStore.load(Unknown Source)
        at com.cognos.accman.jcam.crypto.misc.CAMKeyStore.loadKeyStore(CAMKeySto
re.java:94)
        at com.cognos.accman.jcam.crypto.misc.KeyStoreWriter.storeThirdPartyCaCe
rt(KeyStoreWriter.java:1178)
        at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.installCAC
ert(ThirdPartyCertificateTool.java:634)
        at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.main(Third
PartyCertificateTool.java:1054)
java.io.IOException: PKCS12 key store mac invalid - wrong password or corrupted
file.
        at org.bouncycastle134.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS
12KeyStore.java:783)
        at java.security.KeyStore.load(Unknown Source)
        at com.cognos.accman.jcam.crypto.misc.CAMKeyStore.loadKeyStore(CAMKeySto
re.java:94)
        at com.cognos.accman.jcam.crypto.misc.KeyStoreWriter.storeThirdPartyCaCe
rt(KeyStoreWriter.java:1178)
        at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.installCAC
ert(ThirdPartyCertificateTool.java:634)
        at com.cognos.accman.jcam.utilities.ThirdPartyCertificateTool.main(Third
PartyCertificateTool.java:1054)
C:\Program Files\cognos\c8\bin>^A
C:\Program Files\cognos\c8\bin>ThirdPartyCertificateTool.bat -T -i -r C:\Certifi
cates\ldap-auth.gov.ns.ca.der -k ..\configuration\signkeypair\jCAKeystore -p gov
2010
0
Comment
Question by:KathysFriend
2 Comments
 
LVL 12

Accepted Solution

by:
RWrigley earned 500 total points
ID: 24394642
Did you open Cognos Configuration, modify the password for the keystore, and save (and regenerate) the keys on all servers in the system?
0
 

Author Comment

by:KathysFriend
ID: 24394684
In my case - the certificate was stored in a db and I had to copy the db and key files into the folder I specified in my Cognos configuration
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some very basic things about SQL Server filegroups.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now