View definition

(*CertPool).AppendCertsFromPEM

Defined in github.com/golang/go/src/crypto/x509/cert_pool.go

Description

AppendCertsFromPEM attempts to parse a series of PEM encoded certificates. It appends any certificates found to s and reports whether any certificates were successfully parsed.

On many Linux systems, /etc/ssl/cert.pem will contain the system wide set of root CAs in a format suitable for this function.