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
demandé il y a 9 mois70 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions