TLS: OpenNTPD fails to make TLS connection
Hello!
I still have the same /etc/ntpd.conf which uses ‘constraints from
“https://www.google.com”’.
After the TLS changes this fails:
@
?0[root@sdaoden steffen]# ntpd -d -s
adjtimex returns frequency of –2.879990ppm
ntp engine ready
constraint request to 216.58.208.36
constraint request to 2a00:1450:401b:804::2004
tls connect failed: 2a00:1450:401b:804::2004 (www.google.com): connect:
Address not available
no constraint reply from 2a00:1450:401b:804::2004 received in time, next
query 900s
tls connect failed: 216.58.208.36 (www.google.com): ssl verify memory
setup failure
no constraint reply from 216.58.208.36 received in time, next query
900s
no reply received in time, skipping initial time setting
^Cpipe write error (from main): Invalid argument
pipe write error (from dns engine): Invalid argument
ntp engine exiting
Terminating
@
That openntpd simply fails to continue normally and does not try to
contact normal NTP servers (unfortunately NTP over DTLS has not been
invented yet), effectively hanging in the nowhere, is a different issue
i’d say.
The machine is up-to-date.
(from redmine: issue id 9635, created on 2018-11-10)