Go's AppendCertsFromPEM() function returns false when it can't parse any valid PEM-encoded certificates from the provided data.
The error "appending provided certificate to pool failed" comes from certPool.AppendCertsFromPEM(config.TLSCaCert) returning false in grpc.go
The problem may be in poor docs, or the BeeGFS init script's base64 decoding or the certificate format isn't what Go's crypto/x509 library expects.
Yesterday I (again) spent hours trying to figure out TLS, and couldn't. I think there may be a problem in here, or the docs.
Go's AppendCertsFromPEM() function returns false when it can't parse any valid PEM-encoded certificates from the provided data.
The error "appending provided certificate to pool failed" comes from certPool.AppendCertsFromPEM(config.TLSCaCert) returning false in grpc.go
The problem may be in poor docs, or the BeeGFS init script's base64 decoding or the certificate format isn't what Go's crypto/x509 library expects.
Yesterday I (again) spent hours trying to figure out TLS, and couldn't. I think there may be a problem in here, or the docs.