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