I'm hitting the same with a local build on osx, but not on a 22.04 box.
$ juju version
3.0-rc1-osx-amd64
$ juju login jaas
Controller "jimm.jujucharms.com:443" (162.213.33.244:443) presented a CA cert that could not be verified.
CA fingerprint: <fingerprint>
Trust remote controller? (y/N): y
There are no models available. You can add models with
"juju add-model", or you can ask an administrator or owner
of a model to grant access to that model with "juju grant".
$ juju add-model test aws/us-east-1
ERROR opening API connection: unable to connect to API: x509: certificate is valid for jimm.jujucharms.com, not juju-apiserver
I'm hitting the same with a local build on osx, but not on a 22.04 box.
$ juju version
3.0-rc1-osx-amd64
$ juju login jaas s.com:443" (162.213. 33.244: 443) presented a CA cert that could not be verified.
Controller "jimm.jujucharm
CA fingerprint: <fingerprint>
Trust remote controller? (y/N): y
Opening an authorization web page in your browser. /api.jujucharms .com/identity/ login?did= 3a9e09ca98eca5a 919f155fcb9c668 2002fe55daf93dd f4c1112e09d6f6a bb18
If it does not open, please open this URL:
https:/
Welcome, hmlanigan@external. You are now logged into "jaas".
There are no models available. You can add models with
"juju add-model", or you can ask an administrator or owner
of a model to grant access to that model with "juju grant".
$ juju add-model test aws/us-east-1 .com, not juju-apiserver
ERROR opening API connection: unable to connect to API: x509: certificate is valid for jimm.jujucharms