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
asked a year ago547 views
2 Answers
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
EXPERT
answered a year ago
  • 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
answered 8 months ago

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