We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faec621 commit 2537657Copy full SHA for 2537657
interface/web/tools/import_ispconfig.php
@@ -63,10 +63,23 @@
63
64
if($error == '') {
65
try {
66
+
67
+ //* Allow connections to self signed SSL certs
68
+ $context = stream_context_create(
69
+ array(
70
+ 'ssl' => array (
71
+ 'verify_peer' => false,
72
+ 'verify_peer_name' => false,
73
+ 'allow_self_signed' => true
74
+ )
75
76
+ );
77
78
$client = new SoapClient(null, array('location' => $_POST['remote_server'],
79
'uri' => $_POST['remote_server'].'/index.php',
80
'trace' => 1,
- 'exceptions' => 1));
81
+ 'exceptions' => 1,
82
+ 'stream_context' => $context));
83
84
if($remote_session_id = $client->login($_POST['remote_user'], $_POST['remote_password'])) {
85
$connected = 1;
0 commit comments