Setting ssl-public-key via juju results in failure to communicate with Landscape server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
When setting landscape-client's ssl-public-key setting to a base64-encoded PEM-format CA or self-signed certificate, the client.conf is updated to include the base64 value. This does not appear to work, at least with 16.03 and 16.06 clients.
Attempts to register or communicate with Landscape fail with and "Error 77" from PyCurl.
Traceback (most recent call last):
File "/usr/lib/
message_api)
File "/usr/lib/
headers=
File "/usr/lib/
raise PyCurlError(
PyCurlError: Error 77:
Using the exact same certificate, non-base64 encoded, in PEM format (as in /etc/ssl/
client.conf:
ssl_public_key = /etc/ssl/
I have tested this with Landscape client 16.03 and 16.06, installed from the Xenial default repos, and https:/
Ubuntu 16.04
landscape-client charm: latest from Charm store.
Same result with Landscape 17.03~bzr940- 0~941~ubuntu16. 04.1