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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
null value 15 106
AWS RDS Backups? 3 51
Generate Scripts of Schema/Data with "WHERE" clause 6 73
Is it safe to dump postgresql database that is in production? 3 38
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

829 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