Skip to content

Commit 43e1d02

Browse files
author
Till Brehm
committed
Extended IDS whitelist.
Fixed connection issue in mail account import tool.
1 parent 88240a9 commit 43e1d02

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

interface/web/tools/import_ispconfig.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,22 @@
109109

110110

111111
try {
112+
//* Allow connections to self signed SSL certs
113+
$context = stream_context_create(
114+
array(
115+
'ssl' => array (
116+
'verify_peer' => false,
117+
'verify_peer_name' => false,
118+
'allow_self_signed' => true
119+
)
120+
)
121+
);
122+
112123
$client = new SoapClient(null, array('location' => $_POST['remote_server'],
113124
'uri' => $_POST['remote_server'].'/index.php',
114125
'trace' => 1,
115-
'exceptions' => 1));
126+
'exceptions' => 1,
127+
'stream_context' => $context));
116128

117129
if(!isset($remote_session_id)) $remote_session_id = $_POST['remote_session_id'];
118130

security/ids.whitelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ admin:/capp.php:SESSION.s.module.nav.1.items.0.title
4141
admin:/sites/web_vhost_subdomain_edit.php:POST.php_open_basedir
4242
admin:/sites/web_domain_edit.php:POST.php_open_basedir
4343
admin:/sites/web_domain_edit.php:POST.apache_directives
44+
admin:/sites/web_vhost_domain_edit.php:POST.nginx_directives
4445
user:/sites/shell_user_edit.php:POST.ssh_rsa
4546
user:/sites/cron_edit.php:POST.command
4647
admin:/admin/server_config_edit.php:POST.jailkit_chroot_app_programs

0 commit comments

Comments
 (0)