diff options
-rw-r--r-- | modules/caddypki/pki.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/caddypki/pki.go b/modules/caddypki/pki.go index 373b4cb..562fae2 100644 --- a/modules/caddypki/pki.go +++ b/modules/caddypki/pki.go @@ -92,7 +92,11 @@ func (p *PKI) Start() error { truststore.WithJava(), ) 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)) } } |