Skip to content

Commit e44db3d

Browse files
author
Serghey Rodin
committed
added verify_peer_name => false
1 parent 8969cad commit e44db3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/rhel/7/roundcube/vesta.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ function save($curpass, $passwd)
4848
$context = stream_context_create();
4949

5050
$result = stream_context_set_option($context, 'ssl', 'verify_peer', false);
51+
$result = stream_context_set_option($context, 'ssl', 'verify_peer_name', false);
5152
$result = stream_context_set_option($context, 'ssl', 'verify_host', false);
5253
$result = stream_context_set_option($context, 'ssl', 'allow_self_signed', true);
5354

0 commit comments

Comments
 (0)