Skip to content
Permalink
Browse files

fixes issue #2855 where cafile is not set in HttpSocket

  • Loading branch information...
cvandeplas committed Feb 18, 2014
1 parent 4353507 commit f018e4ff4d2ad07e389164e1b858b6524b709424
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/Http/HttpSocket.php
@@ -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'])) {

0 comments on commit f018e4f

Please sign in to comment.
You can’t perform that action at this time.