mirror of https://github.com/MISP/MISP
fix: [rest client] Potential fix to the skip ssl validation flag not working on wrong CN name
parent
dc0f4741be
commit
5f9e04aa4f
|
@ -1760,6 +1760,7 @@ class ServersController extends AppController
|
|||
if (!empty($request['skip_ssl_validation'])) {
|
||||
$params['ssl_verify_peer'] = false;
|
||||
$params['ssl_verify_host'] = false;
|
||||
$params['ssl_verify_peer_name'] = false;
|
||||
$params['ssl_allow_self_signed'] = true;
|
||||
}
|
||||
$params['timeout'] = 300;
|
||||
|
|
Loading…
Reference in New Issue