summaryrefslogtreecommitdiffstats
path: root/pie-nocacert.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pie-nocacert.patch')
-rw-r--r--pie-nocacert.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pie-nocacert.patch b/pie-nocacert.patch
new file mode 100644
index 0000000..35536a2
--- /dev/null
+++ b/pie-nocacert.patch
@@ -0,0 +1,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 2024-09-25 09:49:53.000000000 +0200
++++ ./vendor/composer/ca-bundle/src/CaBundle.php 2024-10-03 07:11:10.752092401 +0200
+@@ -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