We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de9e722 commit dac75b6Copy full SHA for dac75b6
internal/home/tls.go
@@ -546,6 +546,7 @@ func (m *tlsManager) setConfig(
546
if newConf.Enabled {
547
certPath, keyPath = newConf.CertificatePath, newConf.PrivateKeyPath
548
}
549
+
550
err := m.manager.Set(ctx, aghtls.TLSPair{
551
CertPath: certPath,
552
KeyPath: keyPath,
@@ -730,7 +731,8 @@ func validatePorts(
730
731
732
733
// validateCertChain verifies certs using the first as the main one and others
-// as intermediate. srvName stands for the expected DNS name.
734
+// as intermediate. srvName stands for the expected DNS name. certs must not
735
+// be empty.
736
//
737
// TODO(e.burkov): Pass logger and rootCerts through arguments and remove
738
// dependency on tlsManager.
0 commit comments