Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

base64 encode the root_certificate config parameter #5

Open
mbruzek opened this issue Dec 14, 2015 · 0 comments
Open

base64 encode the root_certificate config parameter #5

mbruzek opened this issue Dec 14, 2015 · 0 comments
Assignees

Comments

@mbruzek
Copy link
Contributor

mbruzek commented Dec 14, 2015

In testing I was not able to set a root_certificate because the contents of a certificate get interpreted as a new command.

juju set tls root_certificate=`cat /home/mbruzek/ca.crt`
error: flag provided but not defined: -----END

We should fix the charm to accept base64 encoded certificate which means the code needs to change to decode it on config_get.

@mbruzek mbruzek self-assigned this Dec 14, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant