TLS handshake fails
Симптомы
agent: x509: certificate signed by unknown authorityПричины
- CA не доверяется — агент не знает наш CA bundle
- System time skew — cert валиден от X до Y, а часы агента вне диапазона
- SNI mismatch — cert выписан на one.example.com, агент стучится по another.example.com
Решения
unimoni-agent --ca-bundle /etc/ssl/unimoni-ca.crtsudo systemctl restart systemd-timesyncd+ проверкаtimedatectl status- Используйте hostname из cert SAN (
openssl s_client -connect host:8443 | openssl x509 -noout -text)