Can't generate SSH keys in FIPS enforcing mode.

Solution Verified - Updated -

Issue

  • Attempting to regenerate ssh keys, but the following errors are showing:
#ssh-keygen -A
ssh-keygen: generating new host keys: ED25519 ED25519 keys are not allowed in FIPS mode
ssh-keygen: generating new host keys: RSA1 Saving key "/etc/ssh/ssh_host_key" failed: error in libcrypto

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content