On Fri, 06 Mar 2015, John George wrote: > To support testing of the latest charm store API, Juju needs to connect to > api.jujucharms.com. However, BaseURL is set to https://store.juju.ubuntu.com > in https://github.com/juju/charm/blob/v4/repo.go > > One approach might be to simply add an entry to /etc/hosts, on the system > used for driving the tests, so that store.juju.ubuntu.com resolves to > api.jujucharms.com. The problem here is that the certificate returned is > from jujucharms.com and fails validation. For example: > juju deploy -e local-trusty foo > ERROR Get > https://store.juju.ubuntu.com/charm-info?charms=cs%3Atrusty%2Ffoo: x509: > certificate is valid for *.jujucharms.com, jujucharms.com, not > store.juju.ubuntu.com > > 1. Is there a way to pass Juju an alternative store location and override > what's set in repo.go? > > 2. Ask IS to expand the certificates X509v3 Subject Alternative Name list > to include store.juju.ubuntu.com. > > 3. Ask IS to install the store.juju.ubuntu.com certificate on > api.staging.jujucharms.com to support testing with the current Juju.
The goal is to change the dns of store.juju.ubuntu.com to point to our new service. We're working with webops to get the ssl cert loaded so that it would pass successfully if you changed your /etc/hosts to think of it that way. We'll report back once that work is completed with webops. Rick -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev