Browse Source

Correct path for cacert file

Walther Lalk 11 years ago
parent
commit
093ab2ea5d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Network/Http/Adapter/Stream.php

+ 1 - 1
src/Network/Http/Adapter/Stream.php

@@ -229,7 +229,7 @@ class Stream
             'ssl_passphrase',
         ];
         if (empty($options['ssl_cafile'])) {
-            $options['ssl_cafile'] = CAKE . 'config' . DS . 'cacert.pem';
+            $options['ssl_cafile'] = CORE_PATH . 'config' . DS . 'cacert.pem';
         }
         if (!empty($options['ssl_verify_host'])) {
             $url = $request->url();