Added option to set the TLS protocol versions to be used in webservers
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -557,6 +557,7 @@ INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES
|
||||
('system', 'leregistered', '0'),
|
||||
('system', 'nssextrausers', '0'),
|
||||
('system', 'disable_le_selfcheck', '0'),
|
||||
('system', 'ssl_protocols', 'TLSv1,TLSv1.2'),
|
||||
('panel', 'decimal_places', '4'),
|
||||
('panel', 'adminmail', 'admin@SERVERNAME'),
|
||||
('panel', 'phpmyadmin_url', ''),
|
||||
@@ -589,7 +590,7 @@ INSERT INTO `panel_settings` (`settinggroup`, `varname`, `value`) VALUES
|
||||
('panel', 'password_special_char', '!?<>§$%+#=@'),
|
||||
('panel', 'customer_hide_options', ''),
|
||||
('panel', 'version', '0.9.38.8'),
|
||||
('panel', 'db_version', '201801091');
|
||||
('panel', 'db_version', '201801100');
|
||||
|
||||
|
||||
DROP TABLE IF EXISTS `panel_tasks`;
|
||||
|
||||
@@ -3743,3 +3743,12 @@ if (isDatabaseVersion('201801090')) {
|
||||
|
||||
updateToDbVersion('201801091');
|
||||
}
|
||||
|
||||
if (isDatabaseVersion('201801091')) {
|
||||
|
||||
showUpdateStep("Adding new setting for SSL protocols");
|
||||
Settings::AddNew('system.ssl_protocols', 'TLSv1,TLSv1.2');
|
||||
lastStepStatus(0);
|
||||
|
||||
updateToDbVersion('201801100');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user