Merge request !1592 broke my testing setup
Gary E. Miller
gem at rellim.com
Thu Nov 12 05:35:19 UTC 2026
Yo Hal!
On Wed, 11 Nov 2026 21:02:54 -0800
Hal Murray <halmurray at sonic.net> wrote:
> Gary said:
> >> Does anybody else use self signed certificates for
> > testing on their local LAN?
> > Not me. I moved to Let's Encrypt years ago. But I don't see why
> > it can not work.
>
> Let's Encrypt needs a public IP address for each system.
Not for each system, but it does need at least one public IP.
> I started with the typical home internet setup with one public IP
> address on a modem/router that was also a firewall and did NAT. I
> had a collection of test systems running on an internal LAN. Self
> signed certificates seemed like the right way to go.
In that case, yes.
> It worked for years. OpenSLL 4 broke things. Turning on that flag
> fixed them.
Which flag?
> >> I set things up ages ago, I got the host name into the
> >> CN slot and left the SAN slot empty.
> > If that is what is broken, needs to be fixed. How do you know that
> > is the problem you are seeing?
>
> There is lots of logging on the client side. You get things like
> this:
Yeah, and often not enough.
> Let's encrypt:
> 3 Nov 15:51:42 ntpd[729]: NTSc: set cert host: ntp1.glypnod.com
> 3 Nov 15:51:42 ntpd[729]: NTSc: certificate subject name:
> /CN=ntp.glypnod.com
> 3 Nov 15:51:42 ntpd[729]: NTSc: SAN:DNS ntp.glypnod.com,
> ntp1.glypnod.com 3 Nov 15:51:42 ntpd[729]: NTSc: certificate is valid.
Looks good.
> With flag:
Which flag?
> 3 Nov 16:29:19 ntpd[724]: NTSc: set cert host: ted-pps.example.com
> 3 Nov 16:29:19 ntpd[724]: NTSc: certificate subject name:
> /C=US/ST=CA/L=Menlo Park/O=Glypnod/CN=ted-pps.example.com
> 3 Nov 16:29:19 ntpd[724]: NTSc: matching with subject:CN
> ted-pps.example.com
> 3 Nov 16:29:19 ntpd[724]: NTSc: certificate is valid.
example.com? Really?
> Without the flag:
> 11 Nov 02:38:16 ntpd[15852]: NTSc: set cert host: fed2.example.com
> 11 Nov 02:38:16 ntpd[15852]: NTSc: certificate subject name:
> /C=US/ST=CA/L=Menlo Park/O=Glypnod/CN=fed2.example.com
> 11 Nov 02:38:16 ntpd[15852]: NTSc: matching with subject:CN (null)
> 11 Nov 02:38:16 ntpd[15852]: NTSc: certificate invalid: 62=>hostname
> mismatch
Yeah, unless you own example.com. Why did you not put an IP in there?
You could put a real domain name in there, even if it only resolves to
a private IP.
> > BTW, did you put your self root cert where NTS can find it?
>
> Yes. Without that, it doesn't work. It also tests a lot of that
> stuff.
Good.
> 3 Nov 15:51:49 ntpd[729]: NTSc: Using file
> /etc/ntp/Glypnod-root-cert.pem for root certificates.
>
> A similar hack to avoid Russian CA signing a certificate.
> 3 Nov 15:51:42 ntpd[729]: NTSc: Using file /etc/ntp/ISRG_Root_X1.pem
> for root certificates.
Russian's are only a small part of the problem. eMudra, etc...
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 283 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20261111/71c79692/attachment.bin>
More information about the devel
mailing list