You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More of a question, but can be turned into a feature request if it does not exist yet.
Used appropriate template for the issue type
Searched both open and closed issues for duplicates of this issue
Title adequately and concisely reflects the feature or the bug
Feature Request
I am looking for a way to gracefully reload the ssl certificate of a restify server.
Use Case
SSl certificates expire and need renewals from time to time. This can easily be automated with acme.sh/certbot, but node-restify does not pick up the new certificate.
I presume this is on purpose to keep out some side effects, but i would still like this feature for my own service.
I have made a simple snippet that allows watching for file changes on the certificate, but just .close()'ing the service and then running .listen again does not seem to have the wanted effect. The cert only gets recreated when restify.createServer is called, but then all routes have to be re-initted which is not easily possible and mean i would just have to restart the whole application
Example API
for example a server.updateSettings(), or similar call?
Are you willing and able to implement this?
Yes, but it probably won't look as good, so i hope there's a workaround for now.
The text was updated successfully, but these errors were encountered:
Alright, i have a workaround, but i will leave the issue up as it might be a good idea to implement something better into node-restify itself. If it is not something that you are interested in implementing feel free to close.
More of a question, but can be turned into a feature request if it does not exist yet.
Feature Request
I am looking for a way to gracefully reload the ssl certificate of a restify server.
Use Case
SSl certificates expire and need renewals from time to time. This can easily be automated with acme.sh/certbot, but node-restify does not pick up the new certificate.
I presume this is on purpose to keep out some side effects, but i would still like this feature for my own service.
I have made a simple snippet that allows watching for file changes on the certificate, but just .close()'ing the service and then running .listen again does not seem to have the wanted effect. The cert only gets recreated when restify.createServer is called, but then all routes have to be re-initted which is not easily possible and mean i would just have to restart the whole application
Example API
for example a
server.updateSettings()
, or similar call?Are you willing and able to implement this?
Yes, but it probably won't look as good, so i hope there's a workaround for now.
The text was updated successfully, but these errors were encountered: