We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9edc9a1 + d94d38c commit 77bda8cCopy full SHA for 77bda8c
internal/tls/config.go
@@ -59,7 +59,7 @@ func NewServerConfig(logger log.Logger, certFile, keyFile, clientCAFile, minVers
59
60
certPool := x509.NewCertPool()
61
if !certPool.AppendCertsFromPEM(caPEM) {
62
- return nil, fmt.Errorf("building client CA: %w", err)
+ return nil, errors.New("parsing client CA failed")
63
}
64
65
tlsCfg.ClientCAs = certPool
0 commit comments