diff --git a/config/config_source.go b/config/config_source.go index 535e3e83d..d8752e306 100644 --- a/config/config_source.go +++ b/config/config_source.go @@ -186,6 +186,11 @@ func (src *FileWatcherSource) check(cfg *Config) { cfg.Options.KeyFile, cfg.Options.PolicyFile, } + + for _, pair := range cfg.Options.CertificateFiles { + fs = append(fs, pair.CertFile, pair.KeyFile) + } + for _, f := range fs { _, _ = h.Write([]byte{0}) bs, err := ioutil.ReadFile(f)