summaryrefslogtreecommitdiffstats
path: root/phpMyAdmin-certs.patch
blob: 15cacacbca613cd5aff5122d954fccb31a455d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up ./vendor/composer/ca-bundle/src/CaBundle.php.rpm ./vendor/composer/ca-bundle/src/CaBundle.php
--- ./vendor/composer/ca-bundle/src/CaBundle.php.rpm	2022-01-24 15:53:57.460789560 +0100
+++ ./vendor/composer/ca-bundle/src/CaBundle.php	2022-01-24 15:55:26.021390384 +0100
@@ -125,7 +125,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