<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sun, 29 Jan 2017 at 00:00 James Beedy <<a href="mailto:jamesbeedy@gmail.com">jamesbeedy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Ok, progress. I've encoded my cert and key to base64 strings and specified them in my haproxy config, and seem to be getting past the padding error. My issue now, is that I am not seeing the cert/key in /etc/ssl/private on the haproxy host once deployed. I'm thinking specifying the ssl cert/key will work for the Openstack charms now that I've got the encoding part squared away. Still stumped by haproxy though ... can't seem to get it provision the cert/key correctly for the life of me. Possibly there is something else I'm missing here ... </div></blockquote><div><br></div><div>What version of the charm are you using? What Ubuntu series are you deploying to?<br><br></div><div>I suspect you're missing the correct `services` config. There are tests for the SSL termination feature of the charm in `tests/12_deploy_{trusty,xenial}.py` perhaps these might shed some light on the right invocation?<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On Sat, Jan 28, 2017 at 1:04 PM, James Beedy <span dir="ltr" class="gmail_msg"><<a href="mailto:jamesbeedy@gmail.com" class="gmail_msg" target="_blank">jamesbeedy@gmail.com</a>></span> wrote:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">I'm having issues with padding when trying to specify key/cert as config options for Haproxy, and have experienced the same issue in the past, when trying to specify key/cert for the Openstack charms. Could someone give an example of what the correct padding of a base64 encoded ssl cert might look like in the charm config yaml.<br class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">My charm config looks like this -> <a href="http://paste.ubuntu.com/23882917/" class="gmail_msg" target="_blank">http://paste.ubuntu.com/23882917/</a></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">The error I'm getting is this -> <a href="http://paste.ubuntu.com/23882921/" class="gmail_msg" target="_blank">http://paste.ubuntu.com/23882921/</a></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thanks</div></div>
</blockquote></div><br class="gmail_msg"></div>
--<br class="gmail_msg">
Juju-dev mailing list<br class="gmail_msg">
<a href="mailto:Juju-dev@lists.ubuntu.com" class="gmail_msg" target="_blank">Juju-dev@lists.ubuntu.com</a><br class="gmail_msg">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br class="gmail_msg">
</blockquote></div></div>