Explorar el Código

added verify_peer_name => false (Roundcube driver, CentOS 6)

dpeca hace 9 años
padre
commit
a50fa85ef0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      install/rhel/6/roundcube/vesta.php

+ 1 - 0
install/rhel/6/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);