Error in libcrypto when attempting to create Public/Private Keys in PEM format with Passphrase in FIPS mode
0
votes
0
answers
1833
views
After attempting to create a public/private key using the following commands with a passphrase I receive this error
Saving key "/home/.ssh/rsa_id" failed: error in libcrypto
If I run this command without entering either the passphrase or the PEM option it works but I need both not one or the other. The issue appears to be with using a passphrase together with the PEM option which I need for our Nessus scans to get proper credentials because of this type of error "Failed to parse ssh keys".
Commands:
ssh-keygen -t rsa -b 4096 -m PEM -f
Output:
Generating pubic/private rsa key pair. Enter passphrase (empty for no passphrase):
I enter a passphrase here
Enter same passphrase again:
I enter the passphrase again
Saving key "(file path and name)" failed: error in libcrypto
I've been able to create credentials without the PEM option and the passphrase but never with both. I've tried to convert the file to PEM format and add a passphrase but I always receive the erro in libcrypto.
Asked by Jason R
(1 rep)
Jul 8, 2024, 02:23 PM
Last activity: Jul 8, 2024, 02:27 PM
Last activity: Jul 8, 2024, 02:27 PM