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,306 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
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…

746 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

11 Experts available now in Live!

Get 1:1 Help Now