Commit 6f28a0c4 authored by Libor Peltan's avatar Libor Peltan

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

parent 1c38af72
......@@ -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");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment