Solved

How to get the LockBox creation done for RSA Encryption

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Eclipse Loop 3 20
Setup GlassFish 4 21
Using jdbcTemplate.batchUpdate to improve INSERT performance 6 22
What browser will run Java? 7 55
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…
Encryption for Business Encryption (https://en.wikipedia.org/wiki/Encryption) ensures the safety of our data when sending emails. In most cases, to read an encrypted email you must enter a secret key that will enable you to decrypt the email. T…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

856 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