We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9edc9a1 commit d94d38cCopy full SHA for d94d38c
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