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,358 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to connect Power BI Desktop to ssrs report server 2 82
Foxpro errors 4 51
ORA-02288: invalid OPEN mode 2 87
Troubleshooting Save_Record_Click() VBA 6 22
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies 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…

733 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