Solved

How to get the LockBox creation done for RSA Encryption

Posted on 2010-11-17
3
2,930 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
[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
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

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

622 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