1
0
mirror of https://github.com/myvesta/vesta.git synced 2025-03-11 20:25:44 -07:00

added verify_peer_name => false (Roundcube driver, Debian)

This commit is contained in:
dpeca 2017-01-13 17:03:02 +01:00 committed by GitHub
parent ae2d1609e2
commit 3a2cfa20fe

@ -46,6 +46,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);