as per given below output ,
is this given chronyd process supporting AES-128 and AES-256 ?
is the nettle package enabled ? if not, which package to enable for support nettle..
@brada4 ,
i have tried to configure AES-128/AES-256 key(key generated via openssl) in /etc/chrony/chrony,keys and restarted the chronyd(/etc/init.d/chronyd restart) process ,, but getting given below error ..
i want to verify secure NTP using AES-128/AES-256 key in client and server ..
is the chrony-nts packages or chrony package support this secure ntp..
do you have sample config how to configure secure NTP??
is the ntpd package support secure NTP ?
error logs :
Fri Mar 7 15:17:05 2025 daemon.info chronyd[16028]: chronyd exiting
Fri Mar 7 15:17:05 2025 daemon.info chronyd[17209]: chronyd version 4.1 starting (+CMDMON +NTP +REFCLOCK -RTC +PRIVDROP -SCFILTER -SIGND +AS) Fri Mar 7 15:17:05 2025 daemon.warn chronyd[17209]: Unsupported cipher in key 1
Fri Mar 7 15:17:05 2025 daemon.info chronyd[17209]: Frequency -5.256 +/- 0.288 ppm read from /var/run/chrony/drift
Fri Mar 7 15:17:09 2025 daemon.info chronyd[17209]: Selected source 171.10.10.65
root@OS:~# date
Fri Mar 7 15:17:15 IST 2025
root@OS:~# cat /etc/chrony/chrony.keys
1 AES128 a39bc490f5105b9fa0809c1b0aa25871
root@OS:~#
/etc/chrony/chrony.conf
config nts
option rtccheck 'yes'
option systemcerts 'yes'
option encryption 'aes128' # Enable AES128 encryption
option keyid '2' # Use key ID 2 from the keyfile
config keyfile
option path '/etc/chrony/chrony.keys' # Path to the key file