fix(forge): the chain hosts keep time, and the converge scripts default to the production CA #768
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/host-clock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Both chain hosts now keep time, reproducibly, and the converge scripts default to the production CA.
scripts/freebsd/forge-jail.sh— Host clock (ntpd):ntpd_enable,ntpd_sync_on_start(steps a large offset), start if stopped. The public address is also onlo0; ntpd 4.2.8p18 fails the duplicate bind withEADDRINUSEand then dies with SIGSEGV, sontp.confgetsinterface ignore lo0. Oneinterface listenrule makes ntpd ignore every unnamed address (measured: with only loopback named,em0got no socket and the clock stayed 36 s out), so loopback and the default-route NIC are named explicitly. Each rule is appended once.scripts/omnios/forge-zone.sh— Host clock (chrony): pool line andmakestep 1.0 3ensured in/etc/inet/chrony.conf; enabled without-s(a first enable reports unsatisfied dependencies and exits 4 while they come up) and the script waits foronlineitself; config edits restart the service.tests/forge-packet-town.sh,tests/forge-kri-pt.sh— assert the time service and at most 5 s of skew against the machine running the guard.ACME_CAdefaults toletsencrypt. Both identifiers were approved for LE-prod earlier today; the staging default fired on a routine converge and re-issued STAGING on both tiers (every TLS client, the converge's own account step included, stopped verifying). Re-issue happens only when the installed CA or CN differs.Measured
Both converges ran to
EXIT=0with production certificates back (CN=YE2); both guards pass. LE-prod issuance today: two per identifier (limit five per 168 h).https://claude.ai/code/session_01XdBRc9CHgFhAxCyHbdVtt6
be67c19020853bf66127853bf66127aee8fb7ba3