seisatsu / DennisMUD

Dennis MUD - A multiplayer text adventure sandbox engine where the players build the world with in-game commands.
https://dennismud.xyz/
MIT License
47 stars 6 forks source link

Automatically reload updated SSL certs #115

Open seisatsu opened 1 year ago

seisatsu commented 1 year ago

Likely related to #110. When the SSL cert expires, the server just keeps running, failing all new connections, until an admin manually intervenes to update the cert and restart the server.

Check if it is possible to reload the cert while running. Then we just have to drop updated certs in the appropriate directory, and Dennis can see that the file hash has changed and reload the cert. Dennis should check periodically for a changed cert hash.