Add support to MAAS+TLS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Undecided
|
Unassigned | ||
Go MAAS API Library |
Invalid
|
Undecided
|
Unassigned |
Bug Description
MAAS 3.2 has now support for TLS natively.
However, when trying to use a MAAS+TLS with Juju 2.9.33, I get the following error stack at bootstrap.
ERROR Forbidden
23:25:53 DEBUG cmd supercommand.go:537 error stack:
ServerError: 401 Unauthorized (Forbidden)
github.
github.
github.
github.
github.
github.
github.
github.
github.
github.
If I disable TLS, the credentials work fine for bootstrap. I've also added the CA chain to the juju client machine.
There are two alternatives: share/juju/ clouds. yaml, under the "ca-certificates" field
1) Adding the ca chain via cloud-init to the juju controller and directly to the node running juju client
2) Setting the ca chain in the ~/.local/
Setting this bug as invalid.