Solved

How to get the LockBox creation done for RSA Encryption

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SHA2 certs for IIS AND Java? 2 122
SequenceInputStream example 3 21
printf performancy 11 83
Tomcat 9 + java 8 error while trying to deploy a war file 2 676
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Ransomware is a growing menace to anyone using a computer or mobile device. Here are answers to some common questions about this vicious new form of malware.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
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 …

685 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