mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
Add checkbox to control if key is kept
This commit is contained in:
@ -24,7 +24,7 @@ if ($key) {
|
|||||||
foreach my $k (@keyfiles) {
|
foreach my $k (@keyfiles) {
|
||||||
&lock_file($k);
|
&lock_file($k);
|
||||||
}
|
}
|
||||||
&delete_dnssec_key($zone, 1);
|
&delete_dnssec_key($zone, $in{'keep'});
|
||||||
foreach my $k (@keyfiles) {
|
foreach my $k (@keyfiles) {
|
||||||
&unlock_file($k);
|
&unlock_file($k);
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,8 @@ if (@keyrecs) {
|
|||||||
print &ui_hr();
|
print &ui_hr();
|
||||||
print &ui_buttons_start();
|
print &ui_buttons_start();
|
||||||
print &ui_buttons_row("disable_zonekey.cgi", $text{'zonekey_disable'},
|
print &ui_buttons_row("disable_zonekey.cgi", $text{'zonekey_disable'},
|
||||||
$text{'zonekey_disabledesc'},
|
$text{'zonekey_disabledesc'}."<br>\n".
|
||||||
|
&ui_checkbox("keep", 1, $text{'zonekey_keep'}, 1),
|
||||||
&ui_hidden("view", $in{'view'}).
|
&ui_hidden("view", $in{'view'}).
|
||||||
&ui_hidden("zone", $in{'zone'}));
|
&ui_hidden("zone", $in{'zone'}));
|
||||||
|
|
||||||
|
@ -1282,6 +1282,7 @@ zonekey_expandzone=Show public and private zone-key details ..
|
|||||||
zonekey_noprivate=However, Webmin could not find the private key associated with the zone, and so will not be able to re-sign it.
|
zonekey_noprivate=However, Webmin could not find the private key associated with the zone, and so will not be able to re-sign it.
|
||||||
zonekey_eprivate=The private key associated with this zone could not be read : $1
|
zonekey_eprivate=The private key associated with this zone could not be read : $1
|
||||||
zonekey_disable=Remove Key
|
zonekey_disable=Remove Key
|
||||||
|
zonekey_keep=Keep existing key if DNSSEC is re-enabled?
|
||||||
zonekey_disabledesc=Removes the DNSSEC key from this zone, and all signing records. Once this is done, you will be able to generate a new key.
|
zonekey_disabledesc=Removes the DNSSEC key from this zone, and all signing records. Once this is done, you will be able to generate a new key.
|
||||||
zonekey_sign=Sign Zone
|
zonekey_sign=Sign Zone
|
||||||
zonekey_signdesc=Immediately re-sign this zone, so that any changes to records made manually will be included in the signing records.
|
zonekey_signdesc=Immediately re-sign this zone, so that any changes to records made manually will be included in the signing records.
|
||||||
|
Reference in New Issue
Block a user