Imports github.com/juju/errors github.com/juju/juju/cert github.com/juju/juju/environs/storage github.com/juju/loggo github.com/juju/utils Standard library imports crypto/tls crypto/x509 errors fmt io io/ioutil net net/http net/url sort strings sync time