[chrony-users] about nts

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hi all

I am using chrony4.1 for time synchronization and have enabled the NTS function. The following is my configuration file:

Client:

driftfile /var/lib/chrony/drift

makestep 1 1

rtcsync

ntsdumpdir /var/lib/chrony

logdir /var/log/chrony

server 9.82.245.237 iburst minpoll 3 maxpoll 3 nts

ntstrustedcerts /etc/pki/tls/certs/server.crt

 

Server:

driftfile /var/lib/chrony/drift

makestep 1.0 3

rtcsync

allow 9.82.171.155/16

local stratum 10

ntsdumpdir /var/lib/chrony

logdir /var/log/chrony

ntsserverkey /etc/pki/tls/private/server.key

ntsservercert /etc/pki/tls/certs/server.crt

 

The certificate is correct. The chronyc sources -a -v command indicates that the synchronization is successful. However, if you run the date command to change the server time, for example, date -s 18:56:23, the synchronization is successful. However, the time on the client and server is different when you run the date command. For example, the UTC, localtime, and RTC time on the system are not changed. However, after the chronyd is restarted, the modification can be made again.

 

 

 



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/