RSA 4096 Private Key Import to HSM using key_mgmt_util

0

Using Amazon Linux 2 HSM client with a working HSM cluster I am having trouble using this command:

importPrivateKey -f rsa4096.key -l triactaRootCAPrivateKey -w 1835014
Enter PEM pass phrase:
failed to read private key from file

I am able to verify this key with openssl that the passphrase is correct. What am I potentially doing wrong? Are there logs or other way to find out more about this error message.

  • BTW the key was created using: /usr/bin/openssl genrsa -aes256 4096 > rsa4096.key

No Answers

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