How to enable only specific elliptic curves for key exchange using crypto-policies

Solution Verified - Updated -

Issue

  • There is a need to allow only specific elliptic curves for key exchange using crypto-policies and disable others.
  • Removing of the ECDHE key exchange protocol from the key_exchange list in a custom policy modifier module removes all elliptic curves and does not allow specific curves, such as X25519 (curve25519), to be used.

Environment

  • Red Hat Enterprise Linux 8
  • crypto-policies

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