[ANN] Mattermost and layer:lets-encrypt

Andrew Wilkins andrew.wilkins at canonical.com
Mon Oct 24 23:26:38 UTC 2016


On Tue, Oct 25, 2016 at 2:22 AM Casey Marshall <casey.marshall at canonical.com>
wrote:

> On Mon, Oct 24, 2016 at 3:51 AM, Andrew Wilkins <
> andrew.wilkins at canonical.com> wrote:
>
> On Sun, Oct 16, 2016 at 12:07 AM Casey Marshall <
> casey.marshall at canonical.com> wrote:
>
> With a much appreciated recent contribution from James Beedy (bdx) our
> Mattermost charm cs:~cmars/mattermost[1] is working again!
>
> This encouraged me to add some followup improvements to the charm to make
> it even easier to deploy with secure defaults -- automatic registration
> with Let's Encrypt.
>
> I've broken out the Let's Encrypt integration to a separate reactive charm
> layer, layer:lets-encrypt[2], which extends layer:nginx. Practically any
> charm that uses layer:nginx should be able to use layer:lets-encrypt. When
> a config option `fqdn` is set, the layer will automatically register with
> LE and obtain certificates.
>
>
> Nice, thank you. This will be useful for some stuff I'm working on.
>
> It would be nice if the nginx charm supported (included) this by default.
> Is there a reason it shouldn't? Having to create a separate charm that
> includes both means you then have to track changes.
>
>
> I came to the conclusion that layer:nginx and layer:lets-encrypt should
> each do one thing well for better reuse. layer:lets-encrypt no longer
> includes layer:nginx, but they're easy to use together.
>
> layer:lets-encrypt now just obtains certs, which you can then use in nginx
> templates -- or in any web application configuration, really. See the
> latest README[1] for up-to-date usage.
>

OK, indeed sounds better than including nginx. I'll have a play with it
soon.

Cheers,
Andrew


> -Casey
>
> [1] https://github.com/cmars/layer-lets-encrypt
>
>
>
> With the epic release of Juju 2.0 this past week -- the Mattermost charm
> depends on several features new in Juju 2 -- it's now ready to share.
>
> I'm operating a deployment of cs:~cmars/mattermost at
> https://live.cmars.tech/. If you'd like to try it out, here's an invite:
> https://live.cmars.tech/signup_user_complete/?id=wccpdu6dqp88mjkqbngnws6ohc
>
> -Casey
>
> [1] https://jujucharms.com/u/cmars/mattermost
> https://github.com/cmars/juju-charm-mattermost
> [2] https://github.com/cmars/layer-lets-encrypt
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20161024/68c78428/attachment.html>


More information about the Juju mailing list