1 Commits

Author SHA1 Message Date
Boris Nagaev
e9515c1ddd aperture: filter empty TLS SAN hostnames
Go 1.25 tightened x509 validation and now rejects empty dNSName entries, causing
the default self-signed cert generation to fail when ServerName is left unset
(`x509: SAN dNSName is malformed`). Filter out empty host names before calling
cert.GenCertPair and reuse the same SAN list when renewing, allowing the default
config to keep working. Add a unit test that reproduces the failure.
2025-11-26 15:02:01 -03:00