Also the need for base64: prefix is redundant. It should be served on the charm level to check whether the input is base64, all other charms are doing it this way https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/openstack/cert_utils.py#L344
For the elegance you may add some the cert validation itself
Also the need for base64: prefix is redundant. /github. com/juju/ charm-helpers/ blob/master/ charmhelpers/ contrib/ openstack/ cert_utils. py#L344
It should be served on the charm level to check whether the input is base64, all other charms are doing it this way
https:/
For the elegance you may add some the cert validation itself