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
已提问 9 个月前69 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则