Browse Source

Update HttpSocket.php

Add 'allow_self_signed' SSL context option.
Sebastián Marcos Arce 13 years ago
parent
commit
fe774ecc03
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/Cake/Network/Http/HttpSocket.php

+ 1 - 0
lib/Cake/Network/Http/HttpSocket.php

@@ -95,6 +95,7 @@ class HttpSocket extends CakeSocket {
 		'port' => 80,
 		'timeout' => 30,
 		'ssl_verify_peer' => true,
+		'ssl_allow_self_signed' => false,
 		'ssl_verify_depth' => 5,
 		'ssl_verify_host' => true,
 		'request' => array(