[erlang-questions] Refreshing ssl certificates in a cowboy application

Facundo Olano facundo.olano@REDACTED
Wed Nov 8 23:36:05 CET 2017


I just tested this and indeed it works by default.

Thanks!

On Wed, Nov 8, 2017 at 12:54 PM, Danil Zagoskin <z@REDACTED> wrote:

> Hi!
>
> OTP's ssl subsystem with default settings reloads the certfile without any
> extra actions.
> See ssl_pem_cache.erl for implementation details.
>
> On Wed, Nov 8, 2017 at 5:44 PM, Facundo Olano <
> facundo.olano@REDACTED> wrote:
>
>> Hi!
>>
>> We are serving a cowboy web application with certbot/let's encrypt
>> certificates which expire every 90 days. Since the cert files are changing
>> so often, I'm wondering if there's a way to reload them without having to
>> restart the application.
>>
>> I understand cowboy ultimately uses the Erlang ssl module, so I guess
>> this is not a cowboy specific issue.
>>
>> Thanks,
>> Facundo.
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
>
> --
> Danil Zagoskin | z@REDACTED
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171108/2d74ae78/attachment.htm>


More information about the erlang-questions mailing list