Skip to content
Snippets Groups Projects
Commit 6f28a0c4 authored by Libor Peltan's avatar Libor Peltan
Browse files

dnssec: fixed manual key rollover: new keys are not saved

parent 1c38af72
No related branches found
No related tags found
No related merge requests found
Pipeline #40058 passed with warnings
......@@ -584,6 +584,7 @@ int knot_dnssec_key_rollover(kdnssec_ctx_t *ctx, zone_sign_roll_flags_t flags,
} else {
ret = generate_ksk(ctx, 0, false);
if (ret == KNOT_EOK) {
reschedule->keys_changed = true;
log_zone_info(ctx->zone->dname, "DNSSEC, KSK rollover started");
}
}
......@@ -597,6 +598,7 @@ int knot_dnssec_key_rollover(kdnssec_ctx_t *ctx, zone_sign_roll_flags_t flags,
} else {
ret = generate_key(ctx, DNSKEY_GENERATE_ZSK, 0, false);
if (ret == KNOT_EOK) {
reschedule->keys_changed = true;
log_zone_info(ctx->zone->dname, "DNSSEC, ZSK rollover started");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment