Package cacerts contains CA certificates from the golang:1.5.1 docker image at /etc/ssl/certs/ca-certificates.crt.
Useful for when docker images are created from the scratch image.
NewHTTPClient returns a new *http.Client with certificates attached.
NewHTTPTransport returns a new *http.Transport with certificates attached.
NewTLSConfig returns a new *tls.Config with certificates attached.
NewX509CertPool returns a new *x509.CertPool with certificates attached.