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.
2 parents fd18c92 + 92d994f commit 552f6e0Copy full SHA for 552f6e0
interface/web/tools/import_ispconfig.php
@@ -109,10 +109,21 @@
109
110
111
try {
112
+ //* Second 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
$client = new SoapClient(null, array('location' => $_POST['remote_server'],
123
'uri' => $_POST['remote_server'].'/index.php',
124
'trace' => 1,
- 'exceptions' => 1));
125
+ 'exceptions' => 1,
126
+ 'stream_context' => $context));
127
128
if(!isset($remote_session_id)) $remote_session_id = $_POST['remote_session_id'];
129
0 commit comments