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.
Other suggestions?
Thanks,
John George
--
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/juju-dev