Skip to content

Commit

Permalink
added verify_peer_name => false (Roundcube driver, CentOS 6)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpeca committed Jan 13, 2017
1 parent f137ec0 commit a50fa85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/rhel/6/roundcube/vesta.php
Expand Up @@ -48,6 +48,7 @@ function save($curpass, $passwd)
$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);

Expand Down

0 comments on commit a50fa85

Please sign in to comment.