summaryrefslogtreecommitdiffstats
path: root/php-composer-ca-bundle-rpm.patch
blob: 54f656d61abc5dcceda64dcca9bd946e2ddfe020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up src/CaBundle.php.rpm src/CaBundle.php
--- src/CaBundle.php.rpm	2017-11-30 07:12:46.773928987 +0100
+++ src/CaBundle.php	2017-11-30 07:15:28.549820032 +0100
@@ -130,7 +130,7 @@ class CaBundle
      */
     public static function getBundledCaBundlePath()
     {
-        $caBundleFile = __DIR__.'/../res/cacert.pem';
+        $caBundleFile = '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always
 
         // cURL does not understand 'phar://' paths
         // see https://github.com/composer/ca-bundle/issues/10