mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
added verify_peer_name => false
This commit is contained in:
parent
8969cad0c8
commit
e44db3d2b0
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ class rcube_vesta_password
|
|||
$context = stream_context_create();
|
||||
|
||||
$result = stream_context_set_option($context, 'ssl', 'verify_peer', false);
|
||||
$result = stream_context_set_option($context, 'ssl', 'verify_peer_name', false);
|
||||
$result = stream_context_set_option($context, 'ssl', 'verify_host', false);
|
||||
$result = stream_context_set_option($context, 'ssl', 'allow_self_signed', true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue