CloudHSM JCE provider for Client SDK 5 - MacOS Arm64 Support

0

I'm trying to run the examples: https://github.com/aws-samples/aws-cloudhsm-jce-examples/

And hitting an issue with a library that is not compiled for MacOS.

Caused by: java.lang.UnsatisfiedLinkError: Can't load library: libcloudhsm_jce.so

I believe the library needs to be .dylib

Is there a recommended work around other than a VM or if support for MacOS is in the roadmap?

Thank you

Andrew
asked a year ago539 views
2 Answers
0

if you check the link below you can see that

Client SDK does not support MacOS

https://docs.aws.amazon.com/cloudhsm/latest/userguide/client-supported-platforms.html

You can use a Windows VM or Linux VM or you can use Docker container

profile picture
EXPERT
answered a year ago
0

Hello,

As noted above, the Client SDK 5 only supports the following platforms, as indicated here[1]:

a Linux:

  • Amazon Linux
  • Amazon Linux 2
  • CentOS 7.8+
  • CentOS 8.3+
  • Red Hat Enterprise Linux (RHEL) 7.8+
  • Red Hat Enterprise Linux (RHEL) 8.3+
  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS

b. Windows:

  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019

Furthermore, I have also been able to identify an existing feature request in place with the internal CloudHSM team, for Client SDK 5 to support MacOS. While I am unable to comment on if/when this feature may get released, I request you to keep an eye on our What's New[2] and Blog[3] pages for any new feature announcements.

As you also rightfully noted, you can consider running either a Windows/Linux VM (EC2 instance) to make use of the Client SDK 5, or use of Docker container/ AWS Lambda functions.

References:

[1] Client SDK 5 supported platforms - https://docs.aws.amazon.com/cloudhsm/latest/userguide/client-supported-platforms.html

[2] https://aws.amazon.com/new/

[3] https://aws.amazon.com/blogs/aws/

I do hope that the above helps with the query at hand.

AWS
SUPPORT ENGINEER
answered a year 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