Matthew Holt 5 years ago
parent
commit
acf4dde1dd
No known key found for this signature in database GPG Key ID: 2A349DD577D586A5
  1. 6
      modules/caddypki/pki.go

6
modules/caddypki/pki.go

@ -92,7 +92,11 @@ func (p *PKI) Start() error {
truststore.WithJava(), truststore.WithJava(),
) )
if err != nil { if err != nil {
return fmt.Errorf("adding root certificate to trust store: %v", err) // could be some system dependencies that are missing;
// shouldn't totally prevent startup, but we should log it
p.log.Error("failed to install root certificate",
zap.Error(err),
zap.String("certificate_file", ca.rootCertPath))
} }
} }

Loading…
Cancel
Save