Apply suggestion from @mohammed90

This commit is contained in:
Mohammed Al Sahaf 2026-04-06 01:03:15 +03:00 committed by GitHub
parent bb839ac9ed
commit 2fcf171e64
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -821,10 +821,12 @@ func (scp SystemCAPool) CertPool() *x509.CertPool {
return scp.pool
}
// The `combined` pool type merges multiple pools. The `sources` pools must implement the
// `CertificateProvider` interface, which allows them to export their certificate set.
//
// Note: SystemCAPool does not implement CertificateProvider because
// x509.SystemCertPool() doesn't expose its certificates, so it cannot
// be used as a source in CombinedCAPool.
type CombinedCAPool struct {
// The CA pool sources to combine. Each source is a CA pool provider module.
SourcesRaw []json.RawMessage `json:"sources,omitempty" caddy:"namespace=tls.ca_pool.source inline_key=provider"`