Option for SSL cert enforcement

This commit is contained in:
Jamie Cameron 2015-09-01 22:58:58 -07:00
parent 799a0e8efd
commit 31d3aa2782
4 changed files with 7 additions and 1 deletions

View File

@ -17,3 +17,5 @@ Added several new operating systems and distributions to the server type list.
Allow the Backup Configuration Files module to save and restore Webmin server details.
---- Changes since 1.440 ----
Converted commands in the module's API file to POD format, and added more details about each function.
---- Changes since 1.760 ----
Added an option to have Webmin validate the SSL certificate on remote systems when making RPC calls, to ensure that the connection to them has not been MITM'd.

View File

@ -58,7 +58,9 @@ else {
}
print &ui_table_row($text{'edit_ssl'},
&ui_yesno_radio("ssl", int($s->{'ssl'})));
&ui_yesno_radio("ssl", int($s->{'ssl'}))."<br>\n".
&ui_checkbox("checkssl", 1, $text{'edit_checkssl'},
$s->{'checkssl'}));
print &ui_table_row($text{'edit_desc'},
$config{'show_ip'} ?

View File

@ -32,6 +32,7 @@ edit_port=Port
edit_portnone=None set
edit_type=Server type
edit_ssl=SSL server?
edit_checkssl=Check remote SSL certificate?
edit_link=Link type
edit_mode0=Normal link to server
edit_mode1=Login via Webmin with

View File

@ -93,6 +93,7 @@ else {
$serv->{'port'} = $in{'port_def'} ? undef : $in{'port'};
$serv->{'type'} = $in{'type'};
$serv->{'ssl'} = $in{'ssl'};
$serv->{'checkssl'} = $in{'checkssl'};
$serv->{'desc'} = $in{'desc_def'} ? undef : $in{'desc'};
$serv->{'group'} = join("\t", @groups);
$serv->{'fast'} = $in{'fast'};