Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes issue #2855 where cafile is not set in HttpSocket

  • Loading branch information...
commit f018e4ff4d2ad07e389164e1b858b6524b709424 1 parent 4353507
Christophe Vandeplas cvandeplas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Network/Http/HttpSocket.php
2  lib/Cake/Network/Http/HttpSocket.php
View
@@ -684,7 +684,7 @@ protected function _configContext($host) {
}
unset($this->config[$key]);
}
- if (empty($this->_context['ssl']['cafile'])) {
+ if (empty($this->config['context']['ssl']['cafile'])) {
$this->config['context']['ssl']['cafile'] = CAKE . 'Config' . DS . 'cacert.pem';
}
if (!empty($this->config['context']['ssl']['verify_host'])) {
Please sign in to comment.
Something went wrong with that request. Please try again.