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

Loïc Hoguin essen@REDACTED
Thu Nov 9 00:00:01 CET 2017


Oh good to know, I had no idea. Thanks for the tip.

On 11/08/2017 03:54 PM, Danil Zagoskin 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 <mailto: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 <mailto:erlang-questions@REDACTED>
>     http://erlang.org/mailman/listinfo/erlang-questions
>     <http://erlang.org/mailman/listinfo/erlang-questions>
> 
> 
> 
> 
> -- 
> Danil Zagoskin | z@REDACTED <mailto:z@REDACTED>
> 
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
> 

-- 
Loïc Hoguin
https://ninenines.eu



More information about the erlang-questions mailing list