49
49
// storage server at the given network address (see Serve),
50
50
// using TLS. The client is given an authentication key,
51
51
// which the server will verify for Put and Remove* operations.
52
func ClientTLS(addr string, caCertPEM []byte, authkey string) (storage.Storage, error) {
52
func ClientTLS(addr string, caCertPEM string, authkey string) (storage.Storage, error) {
53
53
logger.Debugf("using https storage at %q", addr)
54
54
caCerts := x509.NewCertPool()