Solved

How to get the LockBox creation done for RSA Encryption

Posted on 2010-11-17
3
2,829 Views
Last Modified: 2012-05-10
Hi,

I had my java application using and working for Lockbox earlier. But when I changed the code and trying to re-register my identity for RSA Client I am getting below exception. The rsa property file is same as before. I have also got my earlier identity record deleted from RSA server before I was trying to register again.


[16 Nov 2010 15:30:51] ERROR [NEXRSAEncryptionService] com.rsa.kmc.KMException: com.rsa.kmc.x.bg: Lokbox creation failed
      at com.rsa.kmc.x.aQ.e(Unknown Source)
      at com.rsa.kmc.x.aQ.a(Unknown Source)
      at com.rsa.kmc.KMConfig.<init>(Unknown Source)
      at com.nex.fuelsale.NEXRSAEncryptionService.<init>(Unknown Source)
      at com.nex.fuelsale.NEXFuelSaleRSAEncryption.insertTransactionUsingRSA(Unknown Source)
      at com.nex.fuelsale.NEXFuelSaleRSAEncryption.main(Unknown Source)
Caused by: com.rsa.kmc.x.bg: Lokbox creation failed
      at com.rsa.kmc.core.client.Store.g(Unknown Source)
      at com.rsa.kmc.core.client.Store.e(Unknown Source)
      at com.rsa.kmc.core.client.Store.<init>(Unknown Source)
      ... 6 more
Caused by: java.lang.Exception: Error: -44 LockBox::LockBox : Lockbox file was not found.
      at com.emc.clb.clbBridge.clbBridgeJNI.new_LockBox__SWIG_0(Native Method)
      at com.emc.clb.clbBridge.LockBox.<init>(LockBox.java:39)
      at com.emc.clb.LockBox.<init>(LockBox.java:128)



I can provide more details about proerties that I using upon the request. But just in case if somebody can give me any tip on what possibly could be wrong.

Thanks
0
Comment
Question by:MehtaJasmin
  • 2
3 Comments
 
LVL 1

Expert Comment

by:GenroseSusai
ID: 34167054
Looking at the exception, it says the Lockbox file was not found and hence the problem.
Can you check is there any path issue.
0
 

Accepted Solution

by:
MehtaJasmin earned 0 total points
ID: 34176583
the issue got resolved.

I just had to create 'RSA' folder under respective directory. The code worked there after without any exception.

Thanks for your time.

0
 

Author Closing Comment

by:MehtaJasmin
ID: 34203747
found solution myself.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

By default, Carbonite Server Backup manages your encryption key for you using Advanced Encryption Standard (AES) 128-bit encryption. If you choose to manage your private encryption key, your backups will be encrypted using AES 256-bit encryption.
Explore the encryption capabilities built into Google Apps and how these features can help you meet privacy policy and regulatory compliance, but are not a full solution. Understand and compare the most popular email encryption services for Google A…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

770 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