Why does ntp-keygen fails to update keys?

Solution Verified - Updated -

Issue

  • Below error is received with ntp-4.2.6p5-1 and later when updating server key and certificate as mentioned in upstream documentation.
Corrupt file ntpkey_host_server1.example.lab or wrong key server1.example.lab
error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt

Environment

  • Red Hat Enterprise Linux 6

  • ntp-4.2.6p5-1 and later

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