How to run cloudhsm client on Amazon Linux 2?

1

Hello, I am struggling a bit with cloudHSM tools.

  1. I used a fresh Amazon Linux 2 and I successfully installed cloudhsm cli - it works fine.
  2. However I also wanted to have key-mgmt-util and I am unable to install cloudhsm-client because of conflicts: package cloudhsm-mgmt-util-3.4.4-1.el7.x86_64 conflicts with cloudhsm-client >= 1.0.0 provided by cloudhsm-client-3.4.4-1.el7.x86_64
  3. So I tried to install cloudhsm-client on another clean and fresh AL2 - which went fine but it wouldn't run: /opt/cloudhsm/bin/key_mgmt_util: error while loading shared libraries: libjson-c.so.2: cannot open shared object file: No such file or directory rpm -q --whatprovides 'libjson-c.so.2()(64bit)' no package provides libjson-c.so.2()(64bit) Any hints on how to run key-mgmt-util ?

Edited: Looks like the client and key-mgmt-util are not supported in the current SDK 5. Need to find another way to view keys.

  • I'm experiencing the same issue as well, key-mgmt is only supported up to SDK 3. Have you since found a method to view the keys?

AWS
질문됨 10달 전453회 조회
2개 답변
0

Are you saying that you get an error when you install using the procedure in this document?
https://docs.aws.amazon.com/cloudhsm/latest/userguide/kmu-install-and-configure-client-linux.html

profile picture
전문가
답변함 10달 전
  • Yes. configure runs fine, but then: /opt/cloudhsm/bin/key_mgmt_util: error while loading shared libraries: libjson-c.so.2: cannot open shared object file: No such file or directory

0

I used the Linux version that was not supported by this tool yet.

AWS
답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠