Pull request proposal: automatic certificate renewal

Hi @BartButenaers

I agree it would be nice to handle this scenario, but it needs a different approach.

Re-loading the settings file could have all sorts of side-effects - we don't know what other code a user may have added on the assumption it runs once as part of the Node-RED starting. So we can't do that here.

I'd suggest a design that allows the user to provide a function that Node-RED will call at the desired interval to get the certs.

2 Likes