CloudHSM JCE provider for Client SDK 5

0

I'm trying to use cloudhsm with JCE on Amazon Linux but getting the following:

com.amazonaws.cloudhsm.jce.jni.exception.InternalException: Failed to find required resource, /native/libcloudhsm_jce.so.
        at com.amazonaws.cloudhsm.jce.provider.NativeLibraryLoader.getJceLibraryResourceFile(NativeLibraryLoader.java:126) ~[cloudhsm-5.10.0.jar!/:na]

It happens on this line: Security.addProvider(new CloudHsmProvider()); I have installed both cli & jce:

$ rpm -qa | grep cloudhsm
cloudhsm-cli-5.10.0-1.el6.x86_64
cloudhsm-jce-5.10.0-1.el6.x86_64

Any help appreciated

mp
asked 9 months ago66 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions