cmdmon: reload NTS server keys on rekey command

When ntsrotate is set to 0, allow the keys to be reloaded with the rekey
command of chronyc.
This commit is contained in:
Miroslav Lichvar
2020-04-15 11:52:49 +02:00
parent 85fa29c43d
commit 958d66f8a7
5 changed files with 23 additions and 1 deletions

View File

@@ -620,6 +620,7 @@ static void
handle_rekey(CMD_Request *rx_message, CMD_Reply *tx_message)
{
KEY_Reload();
NKS_ReloadKeys();
}
/* ================================================== */