From e44db3d2b04f128eba60ec74d867f5ee5982d3fa Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 4 Jan 2017 15:25:16 +0200 Subject: [PATCH] added verify_peer_name => false --- install/rhel/7/roundcube/vesta.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install/rhel/7/roundcube/vesta.php b/install/rhel/7/roundcube/vesta.php index 4a8783e6b..1e9523a5c 100644 --- a/install/rhel/7/roundcube/vesta.php +++ b/install/rhel/7/roundcube/vesta.php @@ -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);